treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm / boot / dts / mmp3-dell-ariel.dts
blobc1947b5a688d7319b2f1bf0447813e5821bb57b5
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  */
8 /dts-v1/;
9 #include "mmp3.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
13 / {
14         model = "Dell Ariel";
15         compatible = "dell,wyse-ariel", "marvell,mmp3";
17         aliases {
18                 serial2 = &uart3;
19         };
21         chosen {
22                 #address-cells = <0x1>;
23                 #size-cells = <0x1>;
24                 ranges;
25                 bootargs = "earlyprintk=ttyS2,115200 console=ttyS2,115200";
26         };
28         memory@0 {
29                 linux,usable-memory = <0x0 0x7f600000>;
30                 available = <0x7f700000 0x7ff00000 0x00000000 0x7f600000>;
31                 reg = <0x0 0x80000000>;
32                 device_type = "memory";
33         };
36 &uart3 {
37         status = "okay";
40 &rtc {
41         status = "okay";
44 &usb_otg0 {
45         status = "okay";
48 &usb_otg_phy0 {
49         status = "okay";
52 &mmc3 {
53         status = "okay";
54         max-frequency = <50000000>;
55         status = "okay";
56         bus-width = <8>;
57         non-removable;
58         cap-mmc-highspeed;
61 &twsi1 {
62         status = "okay";
64         rtc@68 {
65                 compatible = "dallas,ds1338";
66                 reg = <0x68>;
67                 status = "okay";
68         };
71 &twsi3 {
72         status = "okay";
75 &twsi4 {
76         status = "okay";
79 &ssp3 {
80         status = "okay";
81         cs-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
83         firmware-flash@0 {
84                 compatible = "st,m25p80", "jedec,spi-nor";
85                 reg = <0>;
86                 spi-max-frequency = <40000000>;
87                 m25p,fast-read;
88         };
91 &ssp4 {
92         cs-gpios = <&gpio 56 GPIO_ACTIVE_HIGH>;
93         status = "okay";