Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/AIR3GII.dts
/dts-v1/; | /dts-v1/; | ||||
#include "rt5350.dtsi" | #include "rt5350.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "AIR3GII", "ralink,rt5350-soc"; | compatible = "airlive,air3gii", "ralink,rt5350-soc"; | ||||
model = "AirLive Air3GII"; | model = "AirLive Air3GII"; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
wlan { | wlan { | ||||
label = "air3gii:green:wlan"; | label = "air3gii:green:wlan"; | ||||
gpios = <&gpio0 8 0>; | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; | ||||
}; | }; | ||||
mobile { | mobile { | ||||
label = "air3gii:green:mobile"; | label = "air3gii:green:mobile"; | ||||
gpios = <&gpio0 9 1>; | gpios = <&gpio0 9 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 7 1>; | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio0 { | &gpio0 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&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", "en25q32b"; | |||||
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 All 39 Lines |