1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 Stefan Roese <sr@denx.de>
8 #include "mt7628a.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 compatible = "gardena,smart-gateway-mt7688", "ralink,mt7628a-soc";
13 model = "GARDENA smart Gateway (MT7688)";
21 device_type = "memory";
22 reg = <0x0 0x08000000>;
26 compatible = "gpio-leds";
29 label = "smartgw:power:blue";
30 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
31 default-state = "off";
35 label = "smartgw:power:green";
36 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
41 label = "smartgw:power:red";
42 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
43 default-state = "off";
47 label = "smartgw:radio:blue";
48 gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
49 default-state = "off";
53 label = "smartgw:radio:green";
54 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
55 default-state = "off";
59 label = "smartgw:radio:red";
60 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
61 default-state = "off";
65 label = "smartgw:internet:blue";
66 gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
67 default-state = "off";
71 label = "smartgw:internet:green";
72 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
73 default-state = "off";
77 label = "smartgw:internet:red";
78 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
79 default-state = "off";
89 state_default: pin_state {
105 pinctrl-names = "default";
106 pinctrl-0 = <&spi_dual_pins>;
109 #address-cells = <1>;
111 compatible = "jedec,spi-nor";
112 spi-max-frequency = <40000000>;
117 #address-cells = <1>;
119 compatible = "spi-nand";
120 spi-max-frequency = <40000000>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&ephy_iot_mode>;
128 mediatek,poll-link-phy = <0>;