2 * Copyright (c) 2016 Andreas Färber
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include "meson-gxbb.dtsi"
46 compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb";
53 stdout-path = "serial0:115200n8";
57 compatible = "gpio-leds";
60 label = "vega-s95:blue:on";
61 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
67 usb_vbus: regulator-usb0-vbus {
68 compatible = "regulator-fixed";
70 regulator-name = "USB0_VBUS";
72 regulator-min-microvolt = <5000000>;
73 regulator-max-microvolt = <5000000>;
75 gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
79 vcc_3v3: regulator-vcc_3v3 {
80 compatible = "regulator-fixed";
81 regulator-name = "VCC_3V3";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
86 vcc_1v8: regulator-vcc_1v8 {
87 compatible = "regulator-fixed";
88 regulator-name = "VCC_1V8";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
93 emmc_pwrseq: emmc-pwrseq {
94 compatible = "mmc-pwrseq-emmc";
95 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
99 compatible = "pwm-clock";
101 clock-frequency = <32768>;
102 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
105 sdio_pwrseq: sdio-pwrseq {
106 compatible = "mmc-pwrseq-simple";
107 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>,
108 <&gpio GPIOX_20 GPIO_ACTIVE_LOW>;
110 clock-names = "ext_clock";
116 pinctrl-0 = <ð_rgmii_pins>;
117 pinctrl-names = "default";
119 phy-handle = <ð_phy0>;
122 amlogic,tx-delay-ns = <2>;
124 snps,reset-gpio = <&gpio GPIOZ_14 0>;
125 snps,reset-delays-us = <0 10000 1000000>;
126 snps,reset-active-low;
129 compatible = "snps,dwmac-mdio";
130 #address-cells = <1>;
133 eth_phy0: ethernet-phy@0 {
134 /* Realtek RTL8211F (0x001cc916) */
142 pinctrl-0 = <&remote_input_ao_pins>;
143 pinctrl-names = "default";
148 pinctrl-0 = <&pwm_e_pins>;
149 pinctrl-names = "default";
150 clocks = <&clkc CLKID_FCLK_DIV4>;
151 clock-names = "clkin0";
154 /* Wireless SDIO Module */
157 pinctrl-0 = <&sdio_pins &sdio_irq_pins>;
158 pinctrl-1 = <&sdio_clk_gate_pins>;
159 pinctrl-names = "default", "clk-gate";
160 #address-cells = <1>;
165 max-frequency = <100000000>;
170 mmc-pwrseq = <&sdio_pwrseq>;
172 vmmc-supply = <&vcc_3v3>;
173 vqmmc-supply = <&vcc_1v8>;
177 compatible = "brcm,bcm4329-fmac";
184 pinctrl-0 = <&sdcard_pins>;
185 pinctrl-1 = <&sdcard_clk_gate_pins>;
186 pinctrl-names = "default", "clk-gate";
190 max-frequency = <100000000>;
193 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
196 vmmc-supply = <&vcc_3v3>;
202 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
203 pinctrl-1 = <&emmc_clk_gate_pins>;
204 pinctrl-names = "default", "clk-gate";
208 max-frequency = <200000000>;
214 mmc-pwrseq = <&emmc_pwrseq>;
215 vmmc-supply = <&vcc_3v3>;
216 vmmcq-sumpply = <&vcc_1v8>;
221 pinctrl-0 = <&uart_ao_a_pins>;
222 pinctrl-names = "default";
227 phy-supply = <&usb_vbus>;