OpenWrt
/branches/18.06.1/target/linux/ramips/dts/3G300M.dts |
@@ -9,14 +9,7 @@ |
compatible = "tenda,3g300m", "ralink,rt3052-soc"; |
model = "Tenda 3G300M"; |
|
aliases { |
led-boot = &led_ap; |
led-failsafe = &led_ap; |
led-running = &led_ap; |
led-upgrade = &led_ap; |
}; |
|
leds { |
gpio-leds { |
compatible = "gpio-leds"; |
|
3grouter { |
@@ -24,7 +17,7 @@ |
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
}; |
|
led_ap: ap { |
ap { |
label = "3g300m:blue:ap"; |
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
}; |
@@ -42,8 +35,6 @@ |
3g { |
label = "3g300m:blue:3g"; |
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
trigger-sources = <&otg_port1>; |
linux,default-trigger = "usbport"; |
}; |
|
wpsreset { |
@@ -52,8 +43,10 @@ |
}; |
}; |
|
keys { |
gpio-keys-polled { |
compatible = "gpio-keys-polled"; |
#address-cells = <1>; |
#size-cells = <0>; |
poll-interval = <20>; |
|
reset { |
@@ -74,15 +67,12 @@ |
status = "okay"; |
|
m25p80@0 { |
#address-cells = <1>; |
#size-cells = <1>; |
compatible = "jedec,spi-nor"; |
reg = <0>; |
spi-max-frequency = <10000000>; |
|
partitions { |
compatible = "fixed-partitions"; |
#address-cells = <1>; |
#size-cells = <1>; |
|
partition@0 { |
label = "u-boot"; |
reg = <0x0 0x30000>; |
@@ -102,13 +92,11 @@ |
}; |
|
partition@50000 { |
compatible = "denx,uimage"; |
label = "firmware"; |
reg = <0x50000 0x3b0000>; |
}; |
}; |
}; |
}; |
|
&pinctrl { |
state_default: pinctrl0 { |