Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/WCR150GN.dts
- This file was copied to sys/gnu/dts/mips/TEW-638APB-V2.dts.
/dts-v1/; | /dts-v1/; | ||||
#include "rt3050.dtsi" | #include "rt3050.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "WCR150GN", "ralink,rt3050-soc"; | compatible = "sparklan,wcr150gn", "ralink,rt3050-soc"; | ||||
model = "Sparklan WCR-150GN"; | model = "Sparklan WCR-150GN"; | ||||
cfi@1f000000 { | cfi@1f000000 { | ||||
compatible = "cfi-flash"; | compatible = "cfi-flash"; | ||||
reg = <0x1f000000 0x800000>; | reg = <0x1f000000 0x800000>; | ||||
bank-width = <2>; | bank-width = <2>; | ||||
device-width = <2>; | device-width = <2>; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
Show All 23 Lines | cfi@1f000000 { | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
user { | user { | ||||
label = "wcr-150gn:amber:user"; | label = "wcr-150gn:amber:user"; | ||||
gpios = <&gpio0 12 1>; | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
power { | power { | ||||
label = "wcr-150gn:amber:power"; | label = "wcr-150gn:amber:power"; | ||||
gpios = <&gpio0 8 1>; | gpios = <&gpio0 8 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>; | ||||
wps { | wps { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio0 10 1>; | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
reset { | reset { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio0 0 1>; | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&pinctrl { | &pinctrl { | ||||
state_default: pinctrl0 { | state_default: pinctrl0 { | ||||
gpio { | gpio { | ||||
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; | ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; | ||||
Show All 20 Lines |