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";
51 gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 compatible = "mediatek,gpio-wifi";
66 state_default: pinctrl0 {
68 ralink,group = "gpio";
69 ralink,function = "gpio";
74 ralink,function = "gpio";
79 ralink,function = "gpio";
83 ralink,group = "spis";
84 ralink,function = "gpio";
89 ralink,function = "gpio";
97 pinctrl-names = "default";
98 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
101 #address-cells = <1>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <40000000>;
106 m25p,chunked-io = <31>;
115 label = "u-boot-env";
116 reg = <0x30000 0x10000>;
119 factory: partition@40000 {
121 reg = <0x40000 0x10000>;
127 reg = <0x50000 0x0fb0000>;
132 #address-cells = <1>;
134 compatible = "linux,spidev";
136 spi-max-frequency = <40000000>;
157 mtd-mac-address = <&factory 0x28>;