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-1 = <&sdio_clk_gate_pins>;
99 pinctrl-names = "default", "clk-gate";
100 #address-cells = <1>;
105 max-frequency = <100000000>;
110 mmc-pwrseq = <&sdio_pwrseq>;
112 vmmc-supply = <&vddao_3v3>;
113 vqmmc-supply = <&vddio_boot>;
119 pinctrl-0 = <&sdcard_pins>;
120 pinctrl-1 = <&sdcard_clk_gate_pins>;
121 pinctrl-names = "default", "clk-gate";
125 max-frequency = <100000000>;
128 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
131 vmmc-supply = <&vddao_3v3>;
132 vqmmc-supply = <&vddio_boot>;
138 pinctrl-0 = <&emmc_pins>;
139 pinctrl-1 = <&emmc_clk_gate_pins>;
140 pinctrl-names = "default", "clk-gate";
144 max-frequency = <200000000>;
150 mmc-pwrseq = <&emmc_pwrseq>;
151 vmmc-supply = <&vcc_3v3>;
152 vqmmc-supply = <&vddio_boot>;
157 pinctrl-0 = <&pwm_e_pins>;
158 pinctrl-names = "default";
159 clocks = <&clkc CLKID_FCLK_DIV4>;
160 clock-names = "clkin0";
163 /* This is connected to the Bluetooth module: */
166 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
167 pinctrl-names = "default";
173 pinctrl-0 = <&uart_ao_a_pins>;
174 pinctrl-names = "default";