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.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_b>;
93 pinctrl-1 = <ðernet0_rgmii_pins_sleep_b>;
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 {
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;
121 pinctrl-names = "default";
122 pinctrl-0 = <&i2c2_pins_b1 &i2c2_pins_b2>;
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>;
149 vmmc-supply = <&vdd_sd>;
150 vqmmc-supply = <&sd_switch>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>;
162 vmmc-supply = <&v3v3>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&spi2_pins_a>;
174 /* On Low speed expansion header */
176 pinctrl-names = "default";
177 pinctrl-0 = <&uart4_pins_b>;
182 /* On Low speed expansion header */
184 pinctrl-names = "default";
185 pinctrl-0 = <&uart7_pins_a>;
190 phys = <&usbphyc_port0>;
196 dr_mode = "peripheral";
197 phys = <&usbphyc_port1 0>;
198 phy-names = "usb2-phy";
207 phy-supply = <&vdd_usb>;
211 phy-supply = <&vdd_usb>;