Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/RT-N15.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt2880.dtsi" | #include "rt2880.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
compatible = "RT-N15", "ralink,rt2880-soc"; | compatible = "asus,rt-n15", "ralink,rt2880-soc"; | ||||
model = "Asus RT-N15"; | model = "Asus RT-N15"; | ||||
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 20 Lines | cfi@1f000000 { | ||||
partition@50000 { | partition@50000 { | ||||
label = "firmware"; | label = "firmware"; | ||||
reg = <0x50000 0x3b0000>; | reg = <0x50000 0x3b0000>; | ||||
}; | }; | ||||
}; | }; | ||||
rtl8366s { | rtl8366s { | ||||
compatible = "realtek,rtl8366s"; | compatible = "realtek,rtl8366s"; | ||||
gpio-sda = <&gpio0 1 0>; | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; | ||||
gpio-sck = <&gpio0 2 0>; | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; | ||||
}; | }; | ||||
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 = <100>; | poll-interval = <100>; | ||||
wps { | wps { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio0 0 0>; | gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
reset { | reset { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio0 12 0>; | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
power { | power { | ||||
label = "rt-n15:blue:power"; | label = "rt-n15:blue:power"; | ||||
gpios = <&gpio0 11 1>; | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio0 { | &gpio0 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
Show All 30 Lines |