Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/MLWG2.dts
/dts-v1/; | /dts-v1/; | ||||
#include "mt7620n.dtsi" | #include "mt7620n.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "mlwg2", "ralink,mt7620n-soc"; | compatible = "kingston,mlwg2", "ralink,mt7620n-soc"; | ||||
model = "Kingston MLWG2"; | model = "Kingston MLWG2"; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
system { | system { | ||||
label = "mlwg2:blue:system"; | label = "mlwg2:blue:system"; | ||||
gpios = <&gpio2 3 1>; | gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
wifi { | wifi { | ||||
label = "mlwg2:blue:wifi"; | label = "mlwg2:blue:wifi"; | ||||
gpios = <&gpio3 0 1>; | gpios = <&gpio3 0 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 1 1>; | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
system { | system { | ||||
label = "system"; | label = "system"; | ||||
gpios = <&gpio0 2 1>; | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_RFKILL>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio0 { | &gpio0 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&gpio2 { | &gpio2 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&gpio3 { | &gpio3 { | ||||
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"; | |||||
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 20 Lines • Show All 49 Lines • Show Last 20 Lines |