1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2015 Endless Mobile, Inc.
4 * Author: Carlo Caione <carlo@endlessm.com>
9 #include <dt-bindings/gpio/gpio.h>
11 #include "meson8b.dtsi"
14 model = "TRONFY MXQ S805";
15 compatible = "tronfy,mxq", "amlogic,meson8b";
22 stdout-path = "serial0:115200n8";
26 device_type = "memory";
27 reg = <0x40000000 0x40000000>;
31 compatible = "iio-hwmon";
32 io-channels = <&saradc 8>;
35 vcck: regulator-vcck {
36 compatible = "pwm-regulator";
38 regulator-name = "VCCK";
39 regulator-min-microvolt = <860000>;
40 regulator-max-microvolt = <1140000>;
42 pwm-supply = <&vcc_5v>;
44 pwms = <&pwm_cd 0 1148 0>;
45 pwm-dutycycle-range = <100 0>;
51 vcc_1v8: regulator-vcc1v8 {
52 compatible = "regulator-fixed";
54 regulator-name = "VCC1V8";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <1800000>;
58 vin-supply = <&vcc_3v3>;
61 vcc_3v3: regulator-vcc3v3 {
62 compatible = "regulator-fixed";
64 regulator-name = "VCC3V3";
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
68 vin-supply = <&vcc_5v>;
71 vcc_5v: regulator-vcc5v {
72 compatible = "regulator-fixed";
74 regulator-name = "VCC5V";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
82 vddee: regulator-vddee {
83 compatible = "pwm-regulator";
85 regulator-name = "VDDEE";
86 regulator-min-microvolt = <860000>;
87 regulator-max-microvolt = <1140000>;
89 pwm-supply = <&vcc_5v>;
91 pwms = <&pwm_cd 1 1148 0>;
92 pwm-dutycycle-range = <100 0>;
100 cpu-supply = <&vcck>;
106 pinctrl-0 = <ð_rmii_pins>;
107 pinctrl-names = "default";
109 phy-handle = <ð_phy0>;
113 compatible = "snps,dwmac-mdio";
114 #address-cells = <1>;
117 eth_phy0: ethernet-phy@0 {
118 /* IC Plus IP101A/G (0x02430c54) */
121 reset-assert-us = <10000>;
122 reset-deassert-us = <10000>;
123 reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
125 icplus,select-interrupt;
126 interrupt-parent = <&gpio_intc>;
128 interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
134 mali-supply = <&vddee>;
139 vref-supply = <&vcc_1v8>;
145 pinctrl-0 = <&sd_b_pins>;
146 pinctrl-names = "default";
149 sd_card_slot: slot@1 {
150 compatible = "mmc-slot";
160 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
162 vmmc-supply = <&vcc_3v3>;
168 pinctrl-0 = <&pwm_c1_pins>, <&pwm_d_pins>;
169 pinctrl-names = "default";
170 clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_XTAL>;
171 clock-names = "clkin0", "clkin1";
176 pinctrl-0 = <&uart_ao_a_pins>;
177 pinctrl-names = "default";