Merge branch 'topic/nhlt' into for-next
[linux-2.6-microblaze.git] / arch / arm / boot / dts / mmp3-dell-ariel.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Dell Wyse 3020 a.k.a. "Ariel" a.k.a. Tx0D (T00D, T10D)
4  *
5  * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk>
6  */
7
8 /dts-v1/;
9 #include "mmp3.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12
13 / {
14         model = "Dell Ariel";
15         compatible = "dell,wyse-ariel", "marvell,mmp3";
16
17         aliases {
18                 serial2 = &uart3;
19         };
20
21         chosen {
22                 #address-cells = <0x1>;
23                 #size-cells = <0x1>;
24                 ranges;
25                 bootargs = "earlyprintk=ttyS2,115200 console=ttyS2,115200";
26         };
27
28         memory@0 {
29                 linux,usable-memory = <0x0 0x7f600000>;
30                 available = <0x7f700000 0x7ff00000 0x00000000 0x7f600000>;
31                 reg = <0x0 0x80000000>;
32                 device_type = "memory";
33         };
34 };
35
36 &uart3 {
37         status = "okay";
38 };
39
40 &rtc {
41         status = "okay";
42 };
43
44 &usb_otg0 {
45         status = "okay";
46 };
47
48 &usb_otg_phy0 {
49         status = "okay";
50 };
51
52 &hsic0 {
53         status = "okay";
54
55         usb1@1 {
56                 compatible = "usb424,2640";
57                 reg = <0x01>;
58                 #address-cells = <0x01>;
59                 #size-cells = <0x00>;
60
61                 mass-storage@1 {
62                         compatible = "usb424,4040";
63                         reg = <0x01>;
64                         status = "disabled";
65                 };
66         };
67 };
68
69 &hsic_phy0 {
70         status = "okay";
71         reset-gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
72 };
73
74 &mmc3 {
75         status = "okay";
76         max-frequency = <50000000>;
77         status = "okay";
78         bus-width = <8>;
79         non-removable;
80         cap-mmc-highspeed;
81 };
82
83 &twsi1 {
84         status = "okay";
85
86         rtc@68 {
87                 compatible = "dallas,ds1338";
88                 reg = <0x68>;
89                 status = "okay";
90         };
91 };
92
93 &twsi3 {
94         status = "okay";
95 };
96
97 &twsi4 {
98         status = "okay";
99 };
100
101 &ssp3 {
102         status = "okay";
103         cs-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
104
105         firmware-flash@0 {
106                 compatible = "st,m25p80", "jedec,spi-nor";
107                 reg = <0>;
108                 spi-max-frequency = <40000000>;
109                 m25p,fast-read;
110         };
111 };
112
113 &ssp4 {
114         cs-gpios = <&gpio 56 GPIO_ACTIVE_HIGH>;
115         status = "okay";
116 };