Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/AWM002-EVB-4M.dts
/dts-v1/; | /dts-v1/; | ||||
#include "AWM002-4M.dtsi" | #include "AWM002-EVB.dtsi" | ||||
/ { | / { | ||||
model = "AsiaRF AWM002 EVB"; | compatible = "asiarf,awm002-evb-4m", "ralink,rt5350-soc"; | ||||
model = "AsiaRF AWM002 EVB (4M)"; | |||||
gpio-leds { | |||||
compatible = "gpio-leds"; | |||||
tx { | |||||
label = "awm002-evb:green:tx"; | |||||
gpios = <&gpio0 15 1>; | |||||
}; | }; | ||||
rx { | &spi0 { | ||||
label = "awm002-evb:green:rx"; | status = "okay"; | ||||
gpios = <&gpio0 16 1>; | |||||
}; | |||||
wps { | m25p80: m25p80@0 { | ||||
label = "awm002-evb:green:wps"; | |||||
gpios = <&gpio0 21 1>; | |||||
}; | |||||
}; | |||||
gpio-keys-polled { | |||||
compatible = "gpio-keys-polled"; | |||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <0>; | #size-cells = <1>; | ||||
poll-interval = <20>; | reg = <0>; | ||||
compatible = "jedec,spi-nor"; | |||||
spi-max-frequency = <10000000>; | |||||
reset_wps { | partition@0 { | ||||
label = "reset_wps"; | label = "u-boot"; | ||||
gpios = <&gpio0 0 1>; | reg = <0x0 0x30000>; | ||||
linux,code = <0x198>; | read-only; | ||||
}; | }; | ||||
mode { | partition@30000 { | ||||
label = "mode"; | label = "u-boot-env"; | ||||
gpios = <&gpio0 20 1>; | reg = <0x30000 0x10000>; | ||||
linux,code = <0x32>; | read-only; | ||||
}; | }; | ||||
}; | |||||
}; | |||||
ðernet { | factory: partition@40000 { | ||||
mtd-mac-address = <&factory 0x28>; | label = "factory"; | ||||
reg = <0x40000 0x10000>; | |||||
read-only; | |||||
}; | }; | ||||
&wmac { | partition@50000 { | ||||
ralink,mtd-eeprom = <&factory 0>; | label = "firmware"; | ||||
reg = <0x50000 0x3b0000>; | |||||
}; | |||||
}; | |||||
}; | }; |