Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/CS-QR10.dts
- This file was copied to sys/gnu/dts/mips/BOCCO.dts.
/dts-v1/; | /dts-v1/; | ||||
#include "mt7620a.dtsi" | #include "mt7620a.dtsi" | ||||
#include <dt-bindings/gpio/gpio.h> | |||||
#include <dt-bindings/input/input.h> | |||||
/ { | / { | ||||
compatible = "ralink,mt7620a-soc"; | compatible = "planex,cs-qr10", "ralink,mt7620a-soc"; | ||||
model = "Planex CS-QR10"; | model = "Planex CS-QR10"; | ||||
sound { | |||||
compatible = "mediatek,mt7620-audio-wm8960"; | |||||
model = "mt7620-wm8960"; | |||||
i2s-controller = <&i2s>; | |||||
audio-routing = | |||||
"Ext Spk", "SPK_LP", | |||||
"Ext Spk", "SPK_LN", | |||||
"Ext Spk", "SPK_RP", | |||||
"Ext Spk", "SPK_RN"; | |||||
}; | |||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
power { | power { | ||||
label = "cs-qr10:red:power"; | label = "cs-qr10:red:power"; | ||||
gpios = <&gpio1 4 1>; | gpios = <&gpio1 4 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>; | ||||
s1 { | s1 { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio1 1 1>; | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
s2 { | s2 { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio1 3 1>; | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio0 { | &gpio0 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
Show All 22 Lines | |||||
&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", "mx25l6405d"; | |||||
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 70 Lines • Show Last 20 Lines |