1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
4 */
5
6/dts-v1/;
7
8#include "meson-axg.dtsi"
9
10/ {
11	compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg";
12	model = "Amlogic Meson AXG S400 Development Board";
13
14	aliases {
15		serial0 = &uart_AO;
16		serial1 = &uart_A;
17	};
18
19	vddio_boot: regulator-vddio_boot {
20		compatible = "regulator-fixed";
21		regulator-name = "VDDIO_BOOT";
22		regulator-min-microvolt = <1800000>;
23		regulator-max-microvolt = <1800000>;
24	};
25
26	vddao_3v3: regulator-vddao_3v3 {
27		compatible = "regulator-fixed";
28		regulator-name = "VDDAO_3V3";
29		regulator-min-microvolt = <3300000>;
30		regulator-max-microvolt = <3300000>;
31	};
32
33	vddio_ao18: regulator-vddio_ao18 {
34		compatible = "regulator-fixed";
35		regulator-name = "VDDIO_AO18";
36		regulator-min-microvolt = <1800000>;
37		regulator-max-microvolt = <1800000>;
38	};
39
40	vcc_3v3: regulator-vcc_3v3 {
41		compatible = "regulator-fixed";
42		regulator-name = "VCC_3V3";
43		regulator-min-microvolt = <3300000>;
44		regulator-max-microvolt = <3300000>;
45	};
46
47	emmc_pwrseq: emmc-pwrseq {
48		compatible = "mmc-pwrseq-emmc";
49		reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
50	};
51};
52
53&ethmac {
54	status = "okay";
55	phy-mode = "rgmii";
56	pinctrl-0 = <&eth_rgmii_y_pins>;
57	pinctrl-names = "default";
58};
59
60&uart_A {
61	status = "okay";
62	pinctrl-0 = <&uart_a_pins>;
63	pinctrl-names = "default";
64};
65
66&uart_AO {
67	status = "okay";
68	pinctrl-0 = <&uart_ao_a_pins>;
69	pinctrl-names = "default";
70};
71
72&ir {
73	status = "okay";
74	pinctrl-0 = <&remote_input_ao_pins>;
75	pinctrl-names = "default";
76};
77
78&i2c1 {
79	status = "okay";
80	pinctrl-0 = <&i2c1_z_pins>;
81	pinctrl-names = "default";
82};
83
84/* emmc storage */
85&sd_emmc_c {
86	status = "okay";
87	pinctrl-0 = <&emmc_pins>;
88	pinctrl-1 = <&emmc_clk_gate_pins>;
89	pinctrl-names = "default", "clk-gate";
90
91	bus-width = <8>;
92	cap-sd-highspeed;
93	cap-mmc-highspeed;
94	max-frequency = <180000000>;
95	non-removable;
96	disable-wp;
97	mmc-ddr-1_8v;
98	mmc-hs200-1_8v;
99
100	vmmc-supply = <&vcc_3v3>;
101	vqmmc-supply = <&vddio_boot>;
102};
103