2 * Copyright (c) 2016 Martin Blumenstingl <martin.blumenstingl@googlemail.com>.
3 * Based on meson-gx-p23x-q20x.dtsi:
4 * - Copyright (c) 2016 Endless Computers, Inc.
5 * Author: Carlo Caione <carlo@endlessm.com>
6 * - Copyright (c) 2016 BayLibre, SAS.
7 * Author: Neil Armstrong <narmstrong@baylibre.com>
9 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 /* Common DTSI for devices which are based on the P212 reference board. */
14 #include "meson-gxl-s905x.dtsi"
23 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 reg = <0x0 0x0 0x0 0x80000000>;
31 vddio_boot: regulator-vddio_boot {
32 compatible = "regulator-fixed";
33 regulator-name = "VDDIO_BOOT";
34 regulator-min-microvolt = <1800000>;
35 regulator-max-microvolt = <1800000>;
38 vddao_3v3: regulator-vddao_3v3 {
39 compatible = "regulator-fixed";
40 regulator-name = "VDDAO_3V3";
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
45 vddio_ao18: regulator-vddio_ao18 {
46 compatible = "regulator-fixed";
47 regulator-name = "VDDIO_AO18";
48 regulator-min-microvolt = <1800000>;
49 regulator-max-microvolt = <1800000>;
52 vcc_3v3: regulator-vcc_3v3 {
53 compatible = "regulator-fixed";
54 regulator-name = "VCC_3V3";
55 regulator-min-microvolt = <3300000>;
56 regulator-max-microvolt = <3300000>;
59 emmc_pwrseq: emmc-pwrseq {
60 compatible = "mmc-pwrseq-emmc";
61 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
65 compatible = "pwm-clock";
67 clock-frequency = <32768>;
68 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
71 sdio_pwrseq: sdio-pwrseq {
72 compatible = "mmc-pwrseq-simple";
73 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
75 clock-names = "ext_clock";
85 pinctrl-0 = <&remote_input_ao_pins>;
86 pinctrl-names = "default";
91 vref-supply = <&vddio_ao18>;
94 /* Wireless SDIO Module */
97 pinctrl-0 = <&sdio_pins>;
98 pinctrl-names = "default";
104 max-frequency = <100000000>;
109 mmc-pwrseq = <&sdio_pwrseq>;
111 vmmc-supply = <&vddao_3v3>;
112 vqmmc-supply = <&vddio_boot>;
118 pinctrl-0 = <&sdcard_pins>;
119 pinctrl-names = "default";
123 max-frequency = <100000000>;
126 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
129 vmmc-supply = <&vddao_3v3>;
130 vqmmc-supply = <&vddio_boot>;
136 pinctrl-0 = <&emmc_pins>;
137 pinctrl-names = "default";
142 max-frequency = <200000000>;
148 mmc-pwrseq = <&emmc_pwrseq>;
149 vmmc-supply = <&vcc_3v3>;
150 vqmmc-supply = <&vddio_boot>;
155 pinctrl-0 = <&pwm_e_pins>;
156 pinctrl-names = "default";
157 clocks = <&clkc CLKID_FCLK_DIV4>;
158 clock-names = "clkin0";
161 /* This is connected to the Bluetooth module: */
164 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
165 pinctrl-names = "default";
171 pinctrl-0 = <&uart_ao_a_pins>;
172 pinctrl-names = "default";