projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Support LEDs on D-Link DIR-860L B1
[openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
M3.dts
diff --git
a/target/linux/ramips/dts/M3.dts
b/target/linux/ramips/dts/M3.dts
index
3e391b3
..
0a78afe
100644
(file)
--- a/
target/linux/ramips/dts/M3.dts
+++ b/
target/linux/ramips/dts/M3.dts
@@
-7,23
+7,13
@@
model = "Poray M3";
palmbus@10000000 {
model = "Poray M3";
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
- ralink,gpiomux = "jtag";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
spi@b00 {
status = "okay";
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "
w25q32
";
+ compatible = "
jedec,spi-nor
";
reg = <0 0>;
linux,modalias = "m25p80", "w25q32";
spi-max-frequency = <10000000>;
reg = <0 0>;
linux,modalias = "m25p80", "w25q32";
spi-max-frequency = <10000000>;
@@
-54,18
+44,27
@@
};
};
};
};
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
ethernet@10100000 {
ethernet@10100000 {
-
status = "okay"
;
+
mtd-mac-address = <&factory 0x4>
;
};
esw@10110000 {
};
esw@10110000 {
- status = "okay";
- ralink,portmap = <0x2f>;
- ralink,led_polarity = <1>;
+ mediatek,portmap = <0x2f>;
+ mediatek,led_polarity = <1>;
};
gpio-leds {
compatible = "gpio-leds";
};
gpio-leds {
compatible = "gpio-leds";
+
status {
label = "m3:blue:status";
gpios = <&gpio0 9 1>;
status {
label = "m3:blue:status";
gpios = <&gpio0 9 1>;
@@
-77,11
+76,13
@@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
+
mode {
label = "mode";
gpios = <&gpio0 17 1>;
mode {
label = "mode";
gpios = <&gpio0 17 1>;
@@
-91,7
+92,6
@@
};
wmac@10180000 {
};
wmac@10180000 {
- status = "okay";
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};
ralink,mtd-eeprom = <&factory 0>;
ralink,led-polarity = <1>;
};