projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for Dovado tiny AC
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
ALL5003.dts
diff --git
a/target/linux/ramips/dts/ALL5003.dts
b/target/linux/ramips/dts/ALL5003.dts
index b1f28ce61ba80b5a5cfa256dab04fb0ba8c3427a..c2561452e8db9d2abfd32bc27b5e057b8c3585b6 100644
(file)
--- a/
target/linux/ramips/dts/ALL5003.dts
+++ b/
target/linux/ramips/dts/ALL5003.dts
@@
-7,19
+7,13
@@
model = "Allnet ALL5003";
palmbus@10000000 {
model = "Allnet ALL5003";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
- ralink,gpiomux = "i2c";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
gpio0: gpio@600 {
status = "okay";
};
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
@@
-54,17
+48,25
@@
};
};
};
};
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
ethernet@10100000 {
ethernet@10100000 {
-
status = "okay"
;
+
mtd-mac-address = <&factory 0x28>
;
};
esw@10110000 {
};
esw@10110000 {
- status = "okay";
ralink,portmap = <0x3f>;
};
wmac@10180000 {
ralink,portmap = <0x3f>;
};
wmac@10180000 {
-
status = "okay"
;
+
ralink,mtd-eeprom = <&factory 0>
;
};
ehci@101c0000 {
};
ehci@101c0000 {
@@
-77,7
+79,6
@@
i2c-gpio {
compatible = "i2c-gpio";
i2c-gpio {
compatible = "i2c-gpio";
-
gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
gpios = <&gpio0 1 0 &gpio0 2 0>;
i2c-gpio,delay-us = <10>;
@@
-96,12
+97,14
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
+
ld1 {
ld1 {
- label = "all
net
:green:ld1";
+ label = "all
5003
:green:ld1";
gpios = <&pcf0 0 1>;
};
gpios = <&pcf0 0 1>;
};
+
ld2 {
ld2 {
- label = "all
net
:green:ld2";
+ label = "all
5003
:green:ld2";
gpios = <&pcf0 1 1>;
};
};
gpios = <&pcf0 1 1>;
};
};