1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 BayLibre SAS. All rights reserved.
8 #include "meson-sm1.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,sei610", "amlogic,sm1";
15 model = "SEI Robotics SEI610";
23 stdout-path = "serial0:115200n8";
26 emmc_pwrseq: emmc-pwrseq {
27 compatible = "mmc-pwrseq-emmc";
28 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
38 gpios = <&gpio GPIOH_6 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio GPIOH_7 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-leds";
58 label = "sei610:blue:bt";
59 gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
60 default-state = "off";
65 compatible = "pwm-leds";
68 label = "sei610:red:power";
69 pwms = <&pwm_AO_ab 0 30518 0>;
70 max-brightness = <255>;
71 linux,default-trigger = "default-on";
77 device_type = "memory";
78 reg = <0x0 0x0 0x0 0x40000000>;
81 ao_5v: regulator-ao_5v {
82 compatible = "regulator-fixed";
83 regulator-name = "AO_5V";
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
86 vin-supply = <&dc_in>;
90 dc_in: regulator-dc_in {
91 compatible = "regulator-fixed";
92 regulator-name = "DC_IN";
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
98 emmc_1v8: regulator-emmc_1v8 {
99 compatible = "regulator-fixed";
100 regulator-name = "EMMC_1V8";
101 regulator-min-microvolt = <1800000>;
102 regulator-max-microvolt = <1800000>;
103 vin-supply = <&vddao_3v3>;
107 vddao_3v3: regulator-vddao_3v3 {
108 compatible = "regulator-fixed";
109 regulator-name = "VDDAO_3V3";
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
112 vin-supply = <&dc_in>;
116 /* Used by Tuner, RGB Led & IR Emitter LED array */
117 vddao_3v3_t: regulator-vddao_3v3_t {
118 compatible = "regulator-fixed";
119 regulator-name = "VDDAO_3V3_T";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
122 vin-supply = <&vddao_3v3>;
123 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
128 vddio_ao1v8: regulator-vddio_ao1v8 {
129 compatible = "regulator-fixed";
130 regulator-name = "VDDIO_AO1V8";
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
133 vin-supply = <&vddao_3v3>;
138 /* TEE Reserved Memory */
139 bl32_reserved: bl32@5000000 {
140 reg = <0x0 0x05300000 0x0 0x2000000>;
145 sdio_pwrseq: sdio-pwrseq {
146 compatible = "mmc-pwrseq-simple";
147 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
149 clock-names = "ext_clock";
153 compatible = "pwm-clock";
155 clock-frequency = <32768>;
156 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
161 pinctrl-0 = <&cec_ao_a_h_pins>;
162 pinctrl-names = "default";
164 hdmi-phandle = <&hdmi_tx>;
168 pinctrl-0 = <&cec_ao_b_h_pins>;
169 pinctrl-names = "default";
171 hdmi-phandle = <&hdmi_tx>;
176 phy-handle = <&internal_ephy>;
182 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
183 pinctrl-names = "default";
188 pinctrl-0 = <&remote_input_ao_pins>;
189 pinctrl-names = "default";
194 pinctrl-0 = <&pwm_ao_a_pins>;
195 pinctrl-names = "default";
197 clock-names = "clkin0";
202 pinctrl-0 = <&pwm_e_pins>;
203 pinctrl-names = "default";
205 clock-names = "clkin0";
210 vref-supply = <&vddio_ao1v8>;
216 pinctrl-0 = <&sdio_pins>;
217 pinctrl-1 = <&sdio_clk_gate_pins>;
218 pinctrl-names = "default", "clk-gate";
219 #address-cells = <1>;
225 max-frequency = <100000000>;
230 mmc-pwrseq = <&sdio_pwrseq>;
232 vmmc-supply = <&vddao_3v3>;
233 vqmmc-supply = <&vddio_ao1v8>;
237 compatible = "brcm,bcm4329-fmac";
244 pinctrl-0 = <&sdcard_c_pins>;
245 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
246 pinctrl-names = "default", "clk-gate";
250 max-frequency = <50000000>;
253 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
254 vmmc-supply = <&vddao_3v3>;
255 vqmmc-supply = <&vddao_3v3>;
261 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
262 pinctrl-1 = <&emmc_clk_gate_pins>;
263 pinctrl-names = "default", "clk-gate";
269 max-frequency = <200000000>;
273 mmc-pwrseq = <&emmc_pwrseq>;
274 vmmc-supply = <&vddao_3v3>;
275 vqmmc-supply = <&emmc_1v8>;
280 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
281 pinctrl-names = "default";
285 compatible = "brcm,bcm43438-bt";
286 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
287 max-speed = <2000000>;
290 vbat-supply = <&vddao_3v3>;
291 vddio-supply = <&vddio_ao1v8>;
295 /* Exposed via the on-board USB to Serial FT232RL IC */
298 pinctrl-0 = <&uart_ao_a_pins>;
299 pinctrl-names = "default";