1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Endless Computers, Inc.
4 * Author: Carlo Caione <carlo@endlessm.com>
7 /* Common DTSI for same Amlogic Q200/Q201 and P230/P231 boards using either
8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs.
18 stdout-path = "serial0:115200n8";
22 device_type = "memory";
23 reg = <0x0 0x0 0x0 0x80000000>;
26 hdmi_5v: regulator-hdmi-5v {
27 compatible = "regulator-fixed";
29 regulator-name = "HDMI_5V";
30 regulator-min-microvolt = <5000000>;
31 regulator-max-microvolt = <5000000>;
33 gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>;
38 vddio_boot: regulator-vddio_boot {
39 compatible = "regulator-fixed";
40 regulator-name = "VDDIO_BOOT";
41 regulator-min-microvolt = <1800000>;
42 regulator-max-microvolt = <1800000>;
45 vddao_3v3: regulator-vddao_3v3 {
46 compatible = "regulator-fixed";
47 regulator-name = "VDDAO_3V3";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
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";
79 compatible = "composite-video-connector";
82 cvbs_connector_in: endpoint {
83 remote-endpoint = <&cvbs_vdac_out>;
89 compatible = "hdmi-connector";
93 hdmi_connector_in: endpoint {
94 remote-endpoint = <&hdmi_tx_tmds_out>;
102 pinctrl-0 = <&ao_cec_pins>;
103 pinctrl-names = "default";
104 hdmi-phandle = <&hdmi_tx>;
108 cvbs_vdac_out: endpoint {
109 remote-endpoint = <&cvbs_connector_in>;
119 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
120 pinctrl-names = "default";
124 hdmi_tx_tmds_out: endpoint {
125 remote-endpoint = <&hdmi_connector_in>;
131 pinctrl-0 = <&remote_input_ao_pins>;
132 pinctrl-names = "default";
137 pinctrl-0 = <&pwm_e_pins>;
138 pinctrl-names = "default";
139 clocks = <&clkc CLKID_FCLK_DIV4>;
140 clock-names = "clkin0";
143 /* Wireless SDIO Module */
146 pinctrl-0 = <&sdio_pins>;
147 pinctrl-1 = <&sdio_clk_gate_pins>;
148 pinctrl-names = "default", "clk-gate";
149 #address-cells = <1>;
154 max-frequency = <100000000>;
159 mmc-pwrseq = <&sdio_pwrseq>;
161 vmmc-supply = <&vddao_3v3>;
162 vqmmc-supply = <&vddio_boot>;
166 compatible = "brcm,bcm4329-fmac";
173 pinctrl-0 = <&sdcard_pins>;
174 pinctrl-1 = <&sdcard_clk_gate_pins>;
175 pinctrl-names = "default", "clk-gate";
179 max-frequency = <100000000>;
182 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
185 vmmc-supply = <&vddao_3v3>;
186 vqmmc-supply = <&vddio_boot>;
192 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
193 pinctrl-1 = <&emmc_clk_gate_pins>;
194 pinctrl-names = "default", "clk-gate";
198 max-frequency = <200000000>;
204 mmc-pwrseq = <&emmc_pwrseq>;
205 vmmc-supply = <&vcc_3v3>;
206 vqmmc-supply = <&vddio_boot>;
209 /* This UART is brought out to the DB9 connector */
212 pinctrl-0 = <&uart_ao_a_pins>;
213 pinctrl-names = "default";