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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
28 device_type = "memory";
29 reg = <0x0 0x8000000>;
33 compatible = "gpio-leds";
36 label = "pbr-d1:orange:usb";
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&ohci_port1>, <&ehci_port1>;
39 linux,default-trigger = "usbport";
40 default-state = "off";
44 label = "pbr-d1:orange:power";
45 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys-polled";
56 gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 compatible = "mediatek,gpio-wifi";
71 state_default: pinctrl0 {
73 ralink,group = "gpio";
74 ralink,function = "gpio";
79 ralink,function = "gpio";
84 ralink,function = "gpio";
88 ralink,group = "spis";
89 ralink,function = "gpio";
94 ralink,function = "gpio";
102 pinctrl-names = "default";
103 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <40000000>;
109 m25p,chunked-io = <31>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
123 label = "u-boot-env";
124 reg = <0x30000 0x10000>;
127 factory: partition@40000 {
129 reg = <0x40000 0x10000>;
135 reg = <0x50000 0x0fb0000>;
141 #address-cells = <1>;
143 compatible = "linux,spidev";
145 spi-max-frequency = <40000000>;
166 mtd-mac-address = <&factory 0x28>;