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 bootargs = "console=ttyS0,115200";
21 device_type = "memory";
22 reg = <0x0 0x8000000>;
26 compatible = "gpio-leds";
29 label = "pbr-d1:orange:usb";
30 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
31 default-state = "off";
35 label = "pbr-d1:orange:power";
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
49 gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 compatible = "mediatek,gpio-wifi";
64 state_default: pinctrl0 {
66 ralink,group = "gpio";
67 ralink,function = "gpio";
72 ralink,function = "gpio";
77 ralink,function = "gpio";
81 ralink,group = "spis";
82 ralink,function = "gpio";
87 ralink,function = "gpio";
95 pinctrl-names = "default";
96 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <40000000>;
104 m25p,chunked-io = <31>;
113 label = "u-boot-env";
114 reg = <0x30000 0x10000>;
117 factory: partition@40000 {
119 reg = <0x40000 0x10000>;
125 reg = <0x50000 0x0fb0000>;
130 #address-cells = <1>;
132 compatible = "linux,spidev";
134 spi-max-frequency = <40000000>;
155 mtd-mac-address = <&factory 0x28>;