3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc";
13 led-status = &led_power;
17 bootargs = "console=ttyS0,115200";
25 device_type = "memory";
26 reg = <0x0 0x8000000>;
30 compatible = "gpio-leds";
33 label = "pbr-d1:orange:usb";
34 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 default-state = "off";
39 label = "pbr-d1:orange:power";
40 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys-polled";
53 gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 compatible = "mediatek,gpio-wifi";
68 state_default: pinctrl0 {
70 ralink,group = "gpio";
71 ralink,function = "gpio";
76 ralink,function = "gpio";
81 ralink,function = "gpio";
85 ralink,group = "spis";
86 ralink,function = "gpio";
91 ralink,function = "gpio";
99 pinctrl-names = "default";
100 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
103 #address-cells = <1>;
105 compatible = "jedec,spi-nor";
107 spi-max-frequency = <40000000>;
108 m25p,chunked-io = <31>;
117 label = "u-boot-env";
118 reg = <0x30000 0x10000>;
121 factory: partition@40000 {
123 reg = <0x40000 0x10000>;
129 reg = <0x50000 0x0fb0000>;
134 #address-cells = <1>;
136 compatible = "linux,spidev";
138 spi-max-frequency = <40000000>;
159 mtd-mac-address = <&factory 0x28>;