OpenWrt
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE1226.dts |
@@ -8,13 +8,6 @@ |
compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc"; |
model = "Zbtlink ZBT-WE1226"; |
|
aliases { |
led-boot = &led_wlan; |
led-failsafe = &led_wlan; |
led-running = &led_wlan; |
led-upgrade = &led_wlan; |
}; |
|
chosen { |
bootargs = "console=ttyS0,115200"; |
}; |
@@ -24,8 +17,10 @@ |
reg = <0x0 0x4000000>; |
}; |
|
keys { |
gpio-keys-polled { |
compatible = "gpio-keys-polled"; |
#address-cells = <1>; |
#size-cells = <0>; |
poll-interval = <20>; |
|
reset { |
@@ -35,7 +30,7 @@ |
}; |
}; |
|
leds { |
gpio-leds { |
compatible = "gpio-leds"; |
|
wan { |
@@ -53,7 +48,7 @@ |
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
}; |
|
led_wlan: wlan { |
wlan { |
label = "zbt-we1226:green:wlan"; |
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
}; |
@@ -73,15 +68,13 @@ |
status = "okay"; |
|
m25p80@0 { |
#address-cells = <1>; |
#size-cells = <1>; |
compatible = "jedec,spi-nor"; |
reg = <0>; |
spi-max-frequency = <10000000>; |
m25p,chunked-io = <32>; |
|
partitions { |
compatible = "fixed-partitions"; |
#address-cells = <1>; |
#size-cells = <1>; |
|
partition@0 { |
label = "u-boot"; |
reg = <0x0 0x30000>; |
@@ -101,13 +94,11 @@ |
}; |
|
partition@50000 { |
compatible = "denx,uimage"; |
label = "firmware"; |
reg = <0x50000 0x7b0000>; |
}; |
}; |
}; |
}; |
|
&wmac { |
status = "okay"; |