OpenWrt
/branches/18.06.1/target/linux/ramips/dts/GL-MT300N-V2.dts |
@@ -6,16 +6,9 @@ |
#include <dt-bindings/input/input.h> |
|
/{ |
compatible = "glinet,gl-mt300n-v2", "mediatek,mt7628an-soc"; |
compatible = "glinet,gl-mt300n-v2", "ralink,mt7620an-soc"; |
model = "GL-MT300N-V2"; |
|
aliases { |
led-boot = &led_power; |
led-failsafe = &led_power; |
led-running = &led_power; |
led-upgrade = &led_power; |
}; |
|
chosen { |
bootargs = "console=ttyS0,115200"; |
}; |
@@ -25,10 +18,10 @@ |
reg = <0x0 0x8000000>; |
}; |
|
leds { |
gpio-leds { |
compatible = "gpio-leds"; |
|
led_power: power { |
power { |
label = "gl-mt300n-v2:green:power"; |
default-state = "on"; |
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
@@ -35,7 +28,7 @@ |
}; |
|
wan { |
label = "gl-mt300n-v2:green:wan"; |
label = "gl-mt300n-v2:blue:wan"; |
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
}; |
|
@@ -45,8 +38,10 @@ |
}; |
}; |
|
keys { |
gpio-keys { |
compatible = "gpio-keys-polled"; |
#address-cells = <1>; |
#size-cells = <0>; |
poll-interval = <20>; |
|
reset { |
@@ -78,6 +73,7 @@ |
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; |
}; |
}; |
|
}; |
|
&pinctrl { |
@@ -102,38 +98,34 @@ |
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>; |
read-only; |
}; |
|
partition@0 { |
label = "u-boot"; |
reg = <0x0 0x30000>; |
read-only; |
}; |
partition@30000 { |
label = "u-boot-env"; |
reg = <0x30000 0x10000>; |
read-only; |
}; |
|
partition@30000 { |
label = "u-boot-env"; |
reg = <0x30000 0x10000>; |
read-only; |
}; |
factory: partition@40000 { |
label = "factory"; |
reg = <0x40000 0x10000>; |
read-only; |
}; |
|
factory: partition@40000 { |
label = "factory"; |
reg = <0x40000 0x10000>; |
read-only; |
}; |
|
partition@50000 { |
compatible = "denx,uimage"; |
label = "firmware"; |
reg = <0x50000 0xfb0000>; |
}; |
partition@50000 { |
label = "firmware"; |
reg = <0x50000 0xfb0000>; |
}; |
}; |
}; |