Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/RT-N56U.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt3883.dtsi" | #include "rt3883.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "RT-N56U", "ralink,rt3883-soc"; | compatible = "asus,rt-n56u", "ralink,rt3883-soc"; | ||||
model = "Asus RT-N56U"; | model = "Asus RT-N56U"; | ||||
nor-flash@1c000000 { | nor-flash@1c000000 { | ||||
compatible = "cfi-flash"; | compatible = "cfi-flash"; | ||||
reg = <0x1c000000 0x800000>; | reg = <0x1c000000 0x800000>; | ||||
bank-width = <2>; | bank-width = <2>; | ||||
#address-cells = <1>; | #address-cells = <1>; | ||||
#size-cells = <1>; | #size-cells = <1>; | ||||
Show All 19 Lines | nor-flash@1c000000 { | ||||
partition@50000 { | partition@50000 { | ||||
reg = <0x00050000 0x007b0000>; | reg = <0x00050000 0x007b0000>; | ||||
label = "firmware"; | label = "firmware"; | ||||
}; | }; | ||||
}; | }; | ||||
rtl8367 { | rtl8367 { | ||||
compatible = "realtek,rtl8367"; | compatible = "realtek,rtl8367"; | ||||
gpio-sda = <&gpio0 1 0>; | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; | ||||
gpio-sck = <&gpio0 2 0>; | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; | ||||
realtek,extif1 = <1 0 1 1 1 1 1 1 2>; | realtek,extif1 = <1 0 1 1 1 1 1 1 2>; | ||||
}; | }; | ||||
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>; | ||||
reset { | reset { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio0 13 1>; | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
wps { | wps { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio1 2 1>; | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
power { | power { | ||||
label = "rt-n56u:blue:power"; | label = "rt-n56u:blue:power"; | ||||
gpios = <&gpio0 0 1>; | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
lan { | lan { | ||||
label = "rt-n56u:blue:lan"; | label = "rt-n56u:blue:lan"; | ||||
gpios = <&gpio0 19 1>; | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
wan { | wan { | ||||
label = "rt-n56u:blue:wan"; | label = "rt-n56u:blue:wan"; | ||||
gpios = <&gpio1 3 1>; | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
usb { | usb { | ||||
label = "rt-n56u:blue:usb"; | label = "rt-n56u:blue:usb"; | ||||
gpios = <&gpio1 0 1>; | gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio1 { | &gpio1 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
Show All 25 Lines | pci { | ||||
ralink,function = "pci-fnc"; | ralink,function = "pci-fnc"; | ||||
}; | }; | ||||
}; | }; | ||||
host-bridge { | host-bridge { | ||||
pci-bridge@1 { | pci-bridge@1 { | ||||
status = "okay"; | status = "okay"; | ||||
wmac@0,0 { | wifi@1814,3091 { | ||||
compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604"; | compatible = "pci1814,3091"; | ||||
reg = < 0x10000 0 0 0 0 >; | reg = <0x10000 0 0 0 0>; | ||||
ralink,eeprom = "rt2x00pci_1_0.eeprom"; | ralink,mtd-eeprom = <&factory 0x8000>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&wmac { | &wmac { | ||||
status = "okay"; | status = "okay"; | ||||
ralink,2ghz = <0>; | ralink,2ghz = <0>; | ||||
Show All 10 Lines |