1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Martin Blumenstingl <martin.blumenstingl@googlemail.com>.
4 * Based on meson-gx-p23x-q20x.dtsi:
5 * - Copyright (c) 2016 Endless Computers, Inc.
6 * Author: Carlo Caione <carlo@endlessm.com>
7 * - Copyright (c) 2016 BayLibre, SAS.
8 * Author: Neil Armstrong <narmstrong@baylibre.com>
11 /* Common DTSI for devices which are based on the P212 reference board. */
13 #include "meson-gxl-s905x.dtsi"
22 stdout-path = "serial0:115200n8";
26 device_type = "memory";
27 reg = <0x0 0x0 0x0 0x80000000>;
30 vddio_boot: regulator-vddio_boot {
31 compatible = "regulator-fixed";
32 regulator-name = "VDDIO_BOOT";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
37 vddao_3v3: regulator-vddao_3v3 {
38 compatible = "regulator-fixed";
39 regulator-name = "VDDAO_3V3";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
44 vddio_ao18: regulator-vddio_ao18 {
45 compatible = "regulator-fixed";
46 regulator-name = "VDDIO_AO18";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
51 vcc_3v3: regulator-vcc_3v3 {
52 compatible = "regulator-fixed";
53 regulator-name = "VCC_3V3";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
58 emmc_pwrseq: emmc-pwrseq {
59 compatible = "mmc-pwrseq-emmc";
60 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
64 compatible = "pwm-clock";
66 clock-frequency = <32768>;
67 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
70 sdio_pwrseq: sdio-pwrseq {
71 compatible = "mmc-pwrseq-simple";
72 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
74 clock-names = "ext_clock";
84 pinctrl-0 = <&remote_input_ao_pins>;
85 pinctrl-names = "default";
90 vref-supply = <&vddio_ao18>;
93 /* Wireless SDIO Module */
96 pinctrl-0 = <&sdio_pins>;
97 pinctrl-names = "default";
103 max-frequency = <100000000>;
108 mmc-pwrseq = <&sdio_pwrseq>;
110 vmmc-supply = <&vddao_3v3>;
111 vqmmc-supply = <&vddio_boot>;
117 pinctrl-0 = <&sdcard_pins>;
118 pinctrl-names = "default";
122 max-frequency = <100000000>;
125 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
128 vmmc-supply = <&vddao_3v3>;
129 vqmmc-supply = <&vddio_boot>;
135 pinctrl-0 = <&emmc_pins>;
136 pinctrl-names = "default";
141 max-frequency = <200000000>;
147 mmc-pwrseq = <&emmc_pwrseq>;
148 vmmc-supply = <&vcc_3v3>;
149 vqmmc-supply = <&vddio_boot>;
154 pinctrl-0 = <&pwm_e_pins>;
155 pinctrl-names = "default";
156 clocks = <&clkc CLKID_FCLK_DIV4>;
157 clock-names = "clkin0";
160 /* This is connected to the Bluetooth module: */
163 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
164 pinctrl-names = "default";
170 pinctrl-0 = <&uart_ao_a_pins>;
171 pinctrl-names = "default";