1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 compatible = "arduino,yun", "qca,ar9331";
13 bootargs = "console=ttyATH0,250000";
18 pinmux_extended: pinmux@18040030 {
19 compatible = "pinctrl-single";
20 reg = <0x18040030 0x4>;
22 pinctrl-single,bit-per-mux;
23 pinctrl-single,register-width = <32>;
24 pinctrl-single,function-mask = <0x1>;
27 enable_gpio11: pinmux_enable_gpio11 {
28 pinctrl-single,bits = <0x0 0x200 0x200>;
32 pinmux_bootstrap: pinmux@180600ac {
33 compatible = "pinctrl-single";
34 reg = <0x180600ac 0x4>;
36 pinctrl-single,bit-per-mux;
37 pinctrl-single,register-width = <32>;
38 pinctrl-single,function-mask = <0x1>;
41 enable_gpio26_gpio27: pinmux_enable_gpio26_gpio27 {
42 pinctrl-single,bits = <0x0 0x40000 0x40000>;
49 compatible = "gpio-leds";
53 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
54 linux,default-trigger = "phy0tpt";
59 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
60 trigger-sources = <&hub_port1>;
61 linux,default-trigger = "usbport";
66 compatible = "gpio-keys";
71 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-export";
79 gpio-export,name = "yun:oe:spi";
80 gpio-export,output = <0>;
81 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
84 gpio_handshake_enable {
85 gpio-export,name = "yun:oe:hs";
86 gpio-export,output = <0>;
87 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
91 gpio-export,name = "yun:oe:uart";
92 gpio-export,output = <0>;
93 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
97 reg_usb_vbus: reg_usb_vbus {
98 compatible = "regulator-fixed";
99 regulator-name = "usb_vbus";
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins>;
111 &switch_led_disable_pins {
112 pinctrl-single,bits = <0x0 0x80 0xf8>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&enable_gpio11>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&enable_gpio26_gpio27>;
128 #address-cells = <1>;
131 vbus-supply = <®_usb_vbus>;
134 #address-cells = <1>;
137 #trigger-source-cells = <0>;
141 #trigger-source-cells = <0>;
154 compatible = "jedec,spi-nor";
156 spi-max-frequency = <50000000>;
159 compatible = "fixed-partitions";
160 #address-cells = <1>;
170 label = "u-boot-env";
171 reg = <0x40000 0x10000>;
175 compatible = "denx,uimage";
177 reg = <0x50000 0xf90000>;
182 reg = <0xfe0000 0x10000>;
185 art: partition@ff0000 {
187 reg = <0xff0000 0x10000>;
201 compatible = "syscon", "simple-mfd";
207 mtd-cal-data = <&art 0x1000>;