staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / arm / boot / dts / meson8b-mxq.dts
blobbb27b34eb34613ca124153abfb93998bc833b19f
1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 /*
3  * Copyright 2015 Endless Mobile, Inc.
4  * Author: Carlo Caione <carlo@endlessm.com>
5  */
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
11 #include "meson8b.dtsi"
13 / {
14         model = "TRONFY MXQ S805";
15         compatible = "tronfy,mxq", "amlogic,meson8b";
17         aliases {
18                 serial0 = &uart_AO;
19         };
21         chosen {
22                 stdout-path = "serial0:115200n8";
23         };
25         memory {
26                 device_type = "memory";
27                 reg = <0x40000000 0x40000000>;
28         };
30         iio-hwmon {
31                 compatible = "iio-hwmon";
32                 io-channels = <&saradc 8>;
33         };
35         vcck: regulator-vcck {
36                 compatible = "pwm-regulator";
38                 regulator-name = "VCCK";
39                 regulator-min-microvolt = <860000>;
40                 regulator-max-microvolt = <1140000>;
42                 pwms = <&pwm_cd 0 1148 0>;
43                 pwm-dutycycle-range = <100 0>;
45                 regulator-boot-on;
46                 regulator-always-on;
47         };
49         vcc_1v8: regulator-vcc1v8 {
50                 compatible = "regulator-fixed";
52                 regulator-name = "VCC1V8";
53                 regulator-min-microvolt = <1800000>;
54                 regulator-max-microvolt = <1800000>;
56                 vin-supply = <&vcc_3v3>;
57         };
59         vcc_3v3: regulator-vcc3v3 {
60                 compatible = "regulator-fixed";
62                 regulator-name = "VCC3V3";
63                 regulator-min-microvolt = <3300000>;
64                 regulator-max-microvolt = <3300000>;
66                 vin-supply = <&vcc_5v>;
67         };
69         vcc_5v: regulator-vcc5v {
70                 compatible = "regulator-fixed";
72                 regulator-name = "VCC5V";
73                 regulator-min-microvolt = <5000000>;
74                 regulator-max-microvolt = <5000000>;
76                 regulator-boot-on;
77                 regulator-always-on;
78         };
81 &cpu0 {
82         cpu-supply = <&vcck>;
85 &ethmac {
86         status = "okay";
88         pinctrl-0 = <&eth_rmii_pins>;
89         pinctrl-names = "default";
91         phy-handle = <&eth_phy0>;
92         phy-mode = "rmii";
94         mdio {
95                 compatible = "snps,dwmac-mdio";
96                 #address-cells = <1>;
97                 #size-cells = <0>;
99                 eth_phy0: ethernet-phy@0 {
100                         /* IC Plus IP101A/G (0x02430c54) */
101                         reg = <0>;
103                         reset-assert-us = <10000>;
104                         reset-deassert-us = <10000>;
105                         reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>;
107                         icplus,select-interrupt;
108                         interrupt-parent = <&gpio_intc>;
109                         /* GPIOH_3 */
110                         interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
111                 };
112         };
115 &saradc {
116         status = "okay";
117         vref-supply = <&vcc_1v8>;
120 &sdio {
121         status = "okay";
123         pinctrl-0 = <&sd_b_pins>;
124         pinctrl-names = "default";
126         /* SD card */
127         sd_card_slot: slot@1 {
128                 compatible = "mmc-slot";
129                 reg = <1>;
130                 status = "okay";
132                 bus-width = <4>;
133                 no-sdio;
134                 cap-mmc-highspeed;
135                 cap-sd-highspeed;
136                 disable-wp;
138                 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
140                 vmmc-supply = <&vcc_3v3>;
141         };
144 &pwm_cd {
145         status = "okay";
146         pinctrl-0 = <&pwm_c1_pins>;
147         pinctrl-names = "default";
148         clocks = <&clkc CLKID_XTAL>;
149         clock-names = "clkin0";
152 &uart_AO {
153         status = "okay";
154         pinctrl-0 = <&uart_ao_a_pins>;
155         pinctrl-names = "default";
158 &usb0 {
159         status = "okay";
162 &usb0_phy {
163         status = "okay";
166 &usb1 {
167         status = "okay";
170 &usb1_phy {
171         status = "okay";