Changeset View
Changeset View
Standalone View
Standalone View
sys/gnu/dts/mips/MZK-750DHP.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,mzk-750dhp", "ralink,mt7620a-soc"; | ||||
model = "Planex MZK-750DHP"; | model = "Planex MZK-750DHP"; | ||||
gpio-leds { | gpio-leds { | ||||
compatible = "gpio-leds"; | compatible = "gpio-leds"; | ||||
wps { | wps { | ||||
label = "mzk-750dhp:green:wps"; | label = "mzk-750dhp:green:wps"; | ||||
gpios = <&gpio2 15 1>; | gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
power { | power { | ||||
label = "mzk-750dhp:green:power"; | label = "mzk-750dhp:green:power"; | ||||
gpios = <&gpio1 15 1>; | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; | ||||
}; | }; | ||||
wlan5g { | wlan5g { | ||||
label = "mzk-750dhp:green:wlan5g"; | label = "mzk-750dhp:green:wlan5g"; | ||||
gpios = <&gpio1 14 1>; | gpios = <&gpio1 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>; | ||||
s1 { | s1 { | ||||
label = "reset"; | label = "reset"; | ||||
gpios = <&gpio0 1 1>; | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x198>; | linux,code = <KEY_RESTART>; | ||||
}; | }; | ||||
s2 { | s2 { | ||||
label = "wps"; | label = "wps"; | ||||
gpios = <&gpio2 19 1>; | gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; | ||||
linux,code = <0x211>; | linux,code = <KEY_WPS_BUTTON>; | ||||
}; | }; | ||||
}; | }; | ||||
}; | }; | ||||
&gpio1 { | &gpio1 { | ||||
status = "okay"; | status = "okay"; | ||||
}; | }; | ||||
&gpio2 { | &gpio2 { | ||||
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", "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 43 Lines • ▼ Show 20 Lines | |||||
&pcie { | &pcie { | ||||
status = "okay"; | status = "okay"; | ||||
pcie-bridge { | pcie-bridge { | ||||
mt76@0,0 { | mt76@0,0 { | ||||
reg = <0x0000 0 0 0 0>; | reg = <0x0000 0 0 0 0>; | ||||
device_type = "pci"; | device_type = "pci"; | ||||
mediatek,mtd-eeprom = <&factory 0x8000>; | mediatek,mtd-eeprom = <&factory 0x8000>; | ||||
mediatek,2ghz = <0>; | |||||
}; | }; | ||||
}; | }; | ||||
}; | }; |