1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2019 BayLibre, SAS.
4 * Author: Fabien Parent <fparent@baylibre.com>
7 #include <dt-bindings/gpio/gpio.h>
12 ethernet0 = ðernet;
16 stdout-path = "serial0:921600n8";
20 optee: optee@4fd00000 {
21 compatible = "linaro,optee-tz";
27 compatible = "gpio-keys";
28 input-name = "gpio-keys";
29 pinctrl-names = "default";
30 pinctrl-0 = <&gpio_keys_default>;
33 gpios = <&pio 42 GPIO_ACTIVE_LOW>;
37 debounce-interval = <15>;
41 gpios = <&pio 43 GPIO_ACTIVE_LOW>;
42 label = "volume_down";
45 debounce-interval = <15>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&i2c0_pins_a>;
57 compatible = "ti,tca6416";
59 reset-gpios = <&pio 65 GPIO_ACTIVE_LOW>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&tca6416_pins>;
70 line-name = "eint20_mux_sel0";
77 line-name = "expcon_mux_sel1";
84 line-name = "mrg_di_mux_sel2";
87 sd-sdio-mux-sel3-hog {
91 line-name = "sd_sdio_mux_sel3";
94 sd-sdio-mux-ctrl7-hog {
98 line-name = "sd_sdio_mux_ctrl7";
105 line-name = "hw_id0";
112 line-name = "hw_id1";
119 line-name = "hw_id2";
126 line-name = "fg_int_n";
133 line-name = "usba_pwr_en";
140 line-name = "wifi_3v3_pg";
147 line-name = "cam_rst";
154 line-name = "cam_pwdn";
161 pinctrl-names = "default";
162 pinctrl-0 = <&i2c2_pins_a>;
171 pinctrl-names = "default";
172 pinctrl-0 = <ðernet_pins_default>;
173 phy-handle = <ð_phy>;
175 mac-address = [00 00 00 00 00 00];
179 #address-cells = <1>;
182 eth_phy: ethernet-phy@0 {
190 dr_mode = "peripheral";
194 compatible = "usb-c-connector";
204 gpio_keys_default: gpiodefault {
206 pinmux = <MT8516_PIN_42_KPCOL0__FUNC_GPIO42>,
207 <MT8516_PIN_43_KPCOL1__FUNC_GPIO43>;
213 i2c0_pins_a: i2c0@0 {
215 pinmux = <MT8516_PIN_58_SDA0__FUNC_SDA0_0>,
216 <MT8516_PIN_59_SCL0__FUNC_SCL0_0>;
221 i2c2_pins_a: i2c2@0 {
223 pinmux = <MT8516_PIN_60_SDA2__FUNC_SDA2_0>,
224 <MT8516_PIN_61_SCL2__FUNC_SCL2_0>;
229 tca6416_pins: pinmux_tca6416_pins {
231 pinmux = <MT8516_PIN_65_UTXD1__FUNC_GPIO65>;
236 pinmux = <MT8516_PIN_64_URXD1__FUNC_GPIO64>;
242 ethernet_pins_default: ethernet {
244 pinmux = <MT8516_PIN_0_EINT0__FUNC_EXT_TXD0>,
245 <MT8516_PIN_1_EINT1__FUNC_EXT_TXD1>,
246 <MT8516_PIN_5_EINT5__FUNC_EXT_RXER>,
247 <MT8516_PIN_6_EINT6__FUNC_EXT_RXC>,
248 <MT8516_PIN_7_EINT7__FUNC_EXT_RXDV>,
249 <MT8516_PIN_8_EINT8__FUNC_EXT_RXD0>,
250 <MT8516_PIN_9_EINT9__FUNC_EXT_RXD1>,
251 <MT8516_PIN_12_EINT12__FUNC_EXT_TXEN>,
252 <MT8516_PIN_38_MRG_DI__FUNC_EXT_MDIO>,
253 <MT8516_PIN_39_MRG_DO__FUNC_EXT_MDC>;