Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/DAP-1350.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt3050.dtsi" | #include "rt3050.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "DAP-1350", "ralink,rt3052-soc"; | compatible = "dlink,dap-1350", "ralink,rt3052-soc"; | ||||
model = "D-Link DAP-1350"; | model = "D-Link DAP-1350"; | ||||
chosen { | chosen { | ||||
bootargs = "console=ttyS0,115200"; | bootargs = "console=ttyS0,115200"; | ||||
}; | }; | ||||
cfi@1f000000 { | cfi@1f000000 { | ||||
compatible = "cfi-flash"; | compatible = "cfi-flash"; | ||||
Show All 33 Lines | cfi@1f000000 { | ||||
}; | }; | ||||
}; | }; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
power { | power { | ||||
label = "dap-1350:blue:power"; | label = "dap-1350:blue:power"; | ||||
gpios = <&gpio0 8 1>; | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
power2 { | power2 { | ||||
label = "dap-1350:red:power"; | label = "dap-1350:red:power"; | ||||
gpios = <&gpio0 9 1>; | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
wps { | wps { | ||||
label = "dap-1350:blue:wps"; | label = "dap-1350:blue:wps"; | ||||
gpios = <&gpio0 14 1>; | gpios = <&gpio0 14 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>; | ||||
}; | }; | ||||
rt { | rt { | ||||
label = "rt"; | label = "rt"; | ||||
gpios = <&gpio0 11 1>; | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x100>; | linux,code = <BTN_0>; | ||||
}; | }; | ||||
ap { | ap { | ||||
label = "ap"; | label = "ap"; | ||||
gpios = <&gpio0 7 1>; | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x101>; | linux,code = <BTN_1>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&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 |