2018-02-27 18:30:33 +07:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2017-10-14 06:13:13 +07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Amlogic, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "meson-axg.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg";
|
|
|
|
model = "Amlogic Meson AXG S400 Development Board";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart_AO;
|
2018-01-11 09:34:01 +07:00
|
|
|
serial1 = &uart_A;
|
2017-10-14 06:13:13 +07:00
|
|
|
};
|
2018-04-08 18:36:47 +07:00
|
|
|
|
|
|
|
vddio_boot: regulator-vddio_boot {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "VDDIO_BOOT";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vddao_3v3: regulator-vddao_3v3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "VDDAO_3V3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vddio_ao18: regulator-vddio_ao18 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "VDDIO_AO18";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_3v3: regulator-vcc_3v3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "VCC_3V3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
emmc_pwrseq: emmc-pwrseq {
|
|
|
|
compatible = "mmc-pwrseq-emmc";
|
|
|
|
reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
2017-10-14 06:13:13 +07:00
|
|
|
};
|
|
|
|
|
2017-12-16 10:55:27 +07:00
|
|
|
ðmac {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
pinctrl-0 = <ð_rgmii_y_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
2018-01-11 09:34:01 +07:00
|
|
|
&uart_A {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&uart_a_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
2017-10-14 06:13:13 +07:00
|
|
|
&uart_AO {
|
|
|
|
status = "okay";
|
2018-01-11 09:34:00 +07:00
|
|
|
pinctrl-0 = <&uart_ao_a_pins>;
|
|
|
|
pinctrl-names = "default";
|
2017-10-14 06:13:13 +07:00
|
|
|
};
|
2017-12-15 21:59:06 +07:00
|
|
|
|
|
|
|
&ir {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&remote_input_ao_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2017-11-20 21:54:15 +07:00
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&i2c1_z_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2018-04-08 18:36:47 +07:00
|
|
|
|
|
|
|
/* emmc storage */
|
|
|
|
&sd_emmc_c {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&emmc_pins>;
|
|
|
|
pinctrl-1 = <&emmc_clk_gate_pins>;
|
|
|
|
pinctrl-names = "default", "clk-gate";
|
|
|
|
|
|
|
|
bus-width = <8>;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
cap-mmc-highspeed;
|
|
|
|
max-frequency = <180000000>;
|
|
|
|
non-removable;
|
|
|
|
disable-wp;
|
|
|
|
mmc-ddr-1_8v;
|
|
|
|
mmc-hs200-1_8v;
|
|
|
|
|
|
|
|
vmmc-supply = <&vcc_3v3>;
|
|
|
|
vqmmc-supply = <&vddio_boot>;
|
|
|
|
};
|