1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 BayLibre SAS. All rights reserved.
8 #include "meson-g12a.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
14 compatible = "seirobotics,sei510", "amlogic,g12a";
15 model = "SEI Robotics SEI510";
18 compatible = "adc-keys";
19 io-channels = <&saradc 0>;
20 io-channel-names = "buttons";
21 keyup-threshold-microvolt = <1800000>;
25 linux,code = <KEY_POWER>;
26 press-threshold-microvolt = <1700000>;
36 stdout-path = "serial0:115200n8";
40 compatible = "composite-video-connector";
43 cvbs_connector_in: endpoint {
44 remote-endpoint = <&cvbs_vdac_out>;
49 emmc_pwrseq: emmc-pwrseq {
50 compatible = "mmc-pwrseq-emmc";
51 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
55 compatible = "hdmi-connector";
59 hdmi_connector_in: endpoint {
60 remote-endpoint = <&hdmi_tx_tmds_out>;
66 device_type = "memory";
67 reg = <0x0 0x0 0x0 0x40000000>;
70 ao_5v: regulator-ao_5v {
71 compatible = "regulator-fixed";
72 regulator-name = "AO_5V";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
75 vin-supply = <&dc_in>;
79 dc_in: regulator-dc_in {
80 compatible = "regulator-fixed";
81 regulator-name = "DC_IN";
82 regulator-min-microvolt = <5000000>;
83 regulator-max-microvolt = <5000000>;
87 emmc_1v8: regulator-emmc_1v8 {
88 compatible = "regulator-fixed";
89 regulator-name = "EMMC_1V8";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <1800000>;
92 vin-supply = <&vddao_3v3>;
96 vddao_3v3: regulator-vddao_3v3 {
97 compatible = "regulator-fixed";
98 regulator-name = "VDDAO_3V3";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
101 vin-supply = <&dc_in>;
105 vddao_3v3_t: regultor-vddao_3v3_t {
106 compatible = "regulator-fixed";
107 regulator-name = "VDDAO_3V3_T";
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
110 vin-supply = <&vddao_3v3>;
111 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
115 vddio_ao1v8: regulator-vddio_ao1v8 {
116 compatible = "regulator-fixed";
117 regulator-name = "VDDIO_AO1V8";
118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <1800000>;
120 vin-supply = <&vddao_3v3>;
125 /* TEE Reserved Memory */
126 bl32_reserved: bl32@5000000 {
127 reg = <0x0 0x05300000 0x0 0x2000000>;
134 pinctrl-0 = <&cec_ao_a_h_pins>;
135 pinctrl-names = "default";
137 hdmi-phandle = <&hdmi_tx>;
141 pinctrl-0 = <&cec_ao_b_h_pins>;
142 pinctrl-names = "default";
144 hdmi-phandle = <&hdmi_tx>;
148 cvbs_vdac_out: endpoint {
149 remote-endpoint = <&cvbs_connector_in>;
155 phy-handle = <&internal_ephy>;
161 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
162 pinctrl-names = "default";
166 hdmi_tx_tmds_out: endpoint {
167 remote-endpoint = <&hdmi_connector_in>;
173 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
174 pinctrl-names = "default";
179 vref-supply = <&vddio_ao1v8>;
185 pinctrl-0 = <&sdcard_c_pins>;
186 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
187 pinctrl-names = "default", "clk-gate";
191 max-frequency = <50000000>;
194 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
195 vmmc-supply = <&vddao_3v3>;
196 vqmmc-supply = <&vddao_3v3>;
202 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
203 pinctrl-1 = <&emmc_clk_gate_pins>;
204 pinctrl-names = "default", "clk-gate";
210 max-frequency = <200000000>;
214 mmc-pwrseq = <&emmc_pwrseq>;
215 vmmc-supply = <&vddao_3v3>;
216 vqmmc-supply = <&emmc_1v8>;
221 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
222 pinctrl-names = "default";
226 compatible = "brcm,bcm43438-bt";
227 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
228 vbat-supply = <&vddao_3v3>;
229 vddio-supply = <&vddio_ao1v8>;
235 pinctrl-0 = <&uart_ao_a_pins>;
236 pinctrl-names = "default";