Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/DIR-610-A1.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt5350.dtsi" | #include "rt5350.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "DIR-610-A1", "ralink,rt5350-soc"; | compatible = "dlink,dir-610-a1", "ralink,rt5350-soc"; | ||||
model = "D-Link DIR-610 A1"; | model = "D-Link DIR-610 A1"; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
status { | status { | ||||
label = "dir-610-a1:green:status"; | label = "dir-610-a1:green:status"; | ||||
gpios = <&gpio0 9 1>; | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
wps { | wps { | ||||
label = "dir-610-a1:green:wps"; | label = "dir-610-a1:green:wps"; | ||||
gpios = <&gpio0 13 1>; | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
}; | }; | ||||
gpio-keys-polled { | gpio-keys-polled { | ||||
compatible = "gpio-keys-polled"; | compatible = "gpio-keys-polled"; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <0>; | #size-cells = <0>; | ||||
poll-interval = <20>; | poll-interval = <20>; | ||||
reset { | reset { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio0 10 1>; | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
wps { | wps { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio0 0 1>; | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&spi0 { | &spi0 { | ||||
status = "okay"; | status = "okay"; | ||||
m25p80@0 { | m25p80@0 { | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
compatible = "jedec,spi-nor"; | compatible = "jedec,spi-nor"; | ||||
reg = <0>; | reg = <0>; | ||||
linux,modalias = "m25p80"; | |||||
spi-max-frequency = <10000000>; | spi-max-frequency = <10000000>; | ||||
partition@0 { | partition@0 { | ||||
label = "u-boot"; | label = "u-boot"; | ||||
reg = <0x0 0x30000>; | reg = <0x0 0x30000>; | ||||
read-only; | read-only; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |