1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 BayLibre, SAS.
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 * Author: Jerome Brunet <jbrunet@baylibre.com>
10 #include <dt-bindings/input/input.h>
12 #include "meson-gxl-s805x.dtsi"
15 compatible = "amlogic,p241", "amlogic,s805x", "amlogic,meson-gxl";
16 model = "Amlogic Meson GXL (S805X) P241 Development Board";
25 stdout-path = "serial0:115200n8";
29 compatible = "composite-video-connector";
32 cvbs_connector_in: endpoint {
33 remote-endpoint = <&cvbs_vdac_out>;
38 emmc_pwrseq: emmc-pwrseq {
39 compatible = "mmc-pwrseq-emmc";
40 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
44 compatible = "hdmi-connector";
48 hdmi_connector_in: endpoint {
49 remote-endpoint = <&hdmi_tx_tmds_out>;
55 device_type = "memory";
56 reg = <0x0 0x0 0x0 0x20000000>;
59 vddio_boot: regulator-vddio_boot {
60 compatible = "regulator-fixed";
61 regulator-name = "VDDIO_BOOT";
62 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <1800000>;
66 vddao_3v3: regulator-vddao_3v3 {
67 compatible = "regulator-fixed";
68 regulator-name = "VDDAO_3V3";
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
73 vddio_ao18: regulator-vddio_ao18 {
74 compatible = "regulator-fixed";
75 regulator-name = "VDDIO_AO18";
76 regulator-min-microvolt = <1800000>;
77 regulator-max-microvolt = <1800000>;
80 vcc_3v3: regulator-vcc_3v3 {
81 compatible = "regulator-fixed";
82 regulator-name = "VCC_3V3";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
87 emmc_pwrseq: emmc-pwrseq {
88 compatible = "mmc-pwrseq-emmc";
89 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
93 compatible = "pwm-clock";
95 clock-frequency = <32768>;
96 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
99 sdio_pwrseq: sdio-pwrseq {
100 compatible = "mmc-pwrseq-simple";
101 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
103 clock-names = "ext_clock";
109 pinctrl-0 = <&ao_cec_pins>;
110 pinctrl-names = "default";
111 hdmi-phandle = <&hdmi_tx>;
115 cvbs_vdac_out: endpoint {
116 remote-endpoint = <&cvbs_connector_in>;
125 pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
126 pinctrl-names = "default";
131 pinctrl-0 = <&remote_input_ao_pins>;
132 pinctrl-names = "default";
137 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
138 pinctrl-names = "default";
142 hdmi_tx_tmds_out: endpoint {
143 remote-endpoint = <&hdmi_connector_in>;
149 vref-supply = <&vddio_ao18>;
152 /* Wireless SDIO Module */
155 pinctrl-0 = <&sdio_pins>;
156 pinctrl-1 = <&sdio_clk_gate_pins>;
157 pinctrl-names = "default", "clk-gate";
158 #address-cells = <1>;
163 max-frequency = <50000000>;
168 /* WiFi firmware requires power to be kept while in suspend */
169 keep-power-in-suspend;
171 mmc-pwrseq = <&sdio_pwrseq>;
173 vmmc-supply = <&vddao_3v3>;
174 vqmmc-supply = <&vddio_boot>;
180 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
181 pinctrl-1 = <&emmc_clk_gate_pins>;
182 pinctrl-names = "default", "clk-gate";
186 max-frequency = <200000000>;
192 mmc-pwrseq = <&emmc_pwrseq>;
193 vmmc-supply = <&vcc_3v3>;
194 vqmmc-supply = <&vddio_boot>;
199 pinctrl-0 = <&pwm_e_pins>;
200 pinctrl-names = "default";
201 clocks = <&clkc CLKID_FCLK_DIV4>;
202 clock-names = "clkin0";
205 /* This is connected to the Bluetooth module: */
208 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
209 pinctrl-names = "default";
215 pinctrl-0 = <&uart_ao_a_pins>;
216 pinctrl-names = "default";