1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
4 * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
5 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
10 #include "stm32mp15xx-dhcor-io1v8.dtsi"
11 #include "stm32mp15xx-dhcor-avenger96-u-boot.dtsi"
14 model = "Arrow Electronics STM32MP15xx Avenger96 board";
15 compatible = "arrow,stm32mp15xx-avenger96", "st,stm32mp15x";
19 ethernet0 = ðernet0;
26 stdout-path = "serial0:115200n8";
30 compatible = "gpio-leds";
32 label = "green:user0";
33 gpios = <&gpioz 7 GPIO_ACTIVE_HIGH>;
34 linux,default-trigger = "heartbeat";
35 default-state = "off";
39 label = "green:user1";
40 gpios = <&gpiof 3 GPIO_ACTIVE_HIGH>;
41 linux,default-trigger = "mmc0";
42 default-state = "off";
46 label = "green:user2";
47 gpios = <&gpiog 0 GPIO_ACTIVE_HIGH>;
48 linux,default-trigger = "mmc1";
49 default-state = "off";
53 label = "green:user3";
54 gpios = <&gpiog 1 GPIO_ACTIVE_HIGH>;
55 linux,default-trigger = "none";
56 default-state = "off";
61 label = "yellow:wifi";
62 gpios = <&gpioz 3 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "phy0tx";
64 default-state = "off";
69 gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
70 linux,default-trigger = "bluetooth-power";
71 default-state = "off";
75 sd_switch: regulator-sd_switch {
76 compatible = "regulator-gpio";
77 regulator-name = "sd_switch";
78 regulator-min-microvolt = <1800000>;
79 regulator-max-microvolt = <2900000>;
80 regulator-type = "voltage";
83 gpios = <&gpioi 5 GPIO_ACTIVE_HIGH>;
85 states = <1800000 0x1>,
92 pinctrl-0 = <ðernet0_rgmii_pins_c>;
93 pinctrl-1 = <ðernet0_rgmii_sleep_pins_c>;
94 pinctrl-names = "default", "sleep";
98 phy-reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
101 #address-cells = <1>;
103 compatible = "snps,dwmac-mdio";
104 phy0: ethernet-phy@7 {
110 &i2c1 { /* X6 I2C1 */
111 pinctrl-names = "default";
112 pinctrl-0 = <&i2c1_pins_b>;
113 i2c-scl-rising-time-ns = <185>;
114 i2c-scl-falling-time-ns = <20>;
116 /delete-property/dmas;
117 /delete-property/dma-names;
120 &i2c2 { /* X6 I2C2 */
121 pinctrl-names = "default";
122 pinctrl-0 = <&i2c2_pins_c>;
123 i2c-scl-rising-time-ns = <185>;
124 i2c-scl-falling-time-ns = <20>;
126 /delete-property/dmas;
127 /delete-property/dma-names;
132 compatible = "atmel,24c02";
139 pinctrl-names = "default", "opendrain", "sleep";
140 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_b>;
141 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_b>;
142 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_b>;
148 vmmc-supply = <&vdd_sd>;
149 vqmmc-supply = <&sd_switch>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>;
161 vmmc-supply = <&v3v3>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&spi2_pins_a>;
173 /* On Low speed expansion header */
175 pinctrl-names = "default";
176 pinctrl-0 = <&uart4_pins_b>;
181 /* On Low speed expansion header */
183 pinctrl-names = "default";
184 pinctrl-0 = <&uart7_pins_a>;
189 phys = <&usbphyc_port0>;
195 dr_mode = "peripheral";
196 phys = <&usbphyc_port1 0>;
197 phy-names = "usb2-phy";
206 phy-supply = <&vdd_usb>;
210 phy-supply = <&vdd_usb>;