0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * Dell Wyse 3020 a.k.a. "Ariel" a.k.a. Tx0D (T00D, T10D)
0004 *
0005 * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk>
0006 */
0007
0008 /dts-v1/;
0009 #include "mmp3.dtsi"
0010 #include <dt-bindings/gpio/gpio.h>
0011 #include <dt-bindings/interrupt-controller/irq.h>
0012
0013 / {
0014 model = "Dell Ariel";
0015 compatible = "dell,wyse-ariel", "marvell,mmp3";
0016
0017 aliases {
0018 serial2 = &uart3;
0019 };
0020
0021 chosen {
0022 #address-cells = <0x1>;
0023 #size-cells = <0x1>;
0024 ranges;
0025 bootargs = "earlyprintk=ttyS2,115200 console=ttyS2,115200";
0026 };
0027
0028 memory@0 {
0029 available = <0x7f700000 0x7ff00000 0x00000000 0x7f600000>;
0030 reg = <0x0 0x80000000>;
0031 device_type = "memory";
0032 };
0033
0034 ec_input_spi: spi {
0035 compatible = "spi-gpio";
0036 #address-cells = <1>;
0037 #size-cells = <0>;
0038
0039 num-chipselects = <0>;
0040 sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>;
0041 miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
0042 mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
0043 };
0044 };
0045
0046 &uart3 {
0047 status = "okay";
0048 };
0049
0050 &rtc {
0051 status = "okay";
0052 };
0053
0054 &usb_otg0 {
0055 status = "okay";
0056 };
0057
0058 &usb_otg_phy0 {
0059 status = "okay";
0060 };
0061
0062 &hsic0 {
0063 status = "okay";
0064
0065 usb1@1 {
0066 compatible = "usb424,2640";
0067 reg = <0x01>;
0068 #address-cells = <0x01>;
0069 #size-cells = <0x00>;
0070
0071 mass-storage@1 {
0072 compatible = "usb424,4040";
0073 reg = <0x01>;
0074 status = "disabled";
0075 };
0076 };
0077 };
0078
0079 &hsic_phy0 {
0080 status = "okay";
0081 reset-gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
0082 };
0083
0084 &mmc3 {
0085 status = "okay";
0086 max-frequency = <50000000>;
0087 status = "okay";
0088 bus-width = <8>;
0089 non-removable;
0090 cap-mmc-highspeed;
0091 };
0092
0093 &twsi1 {
0094 status = "okay";
0095
0096 rtc@68 {
0097 compatible = "dallas,ds1338";
0098 reg = <0x68>;
0099 status = "okay";
0100 };
0101 };
0102
0103 &twsi3 {
0104 status = "okay";
0105 };
0106
0107 &twsi4 {
0108 status = "okay";
0109
0110 embedded-controller@58 {
0111 compatible = "dell,wyse-ariel-ec", "ene,kb3930";
0112 reg = <0x58>;
0113 system-power-controller;
0114
0115 off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
0116 <&gpio 127 GPIO_ACTIVE_HIGH>;
0117 };
0118 };
0119
0120 &ssp1 {
0121 status = "okay";
0122 cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
0123
0124 firmware-flash@0 {
0125 compatible = "winbond,w25q32", "jedec,spi-nor";
0126 reg = <0>;
0127 spi-max-frequency = <104000000>;
0128 m25p,fast-read;
0129 };
0130 };
0131
0132 &ec_input_spi {
0133 status = "okay";
0134 cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
0135
0136 power-button@0 {
0137 reg = <0>;
0138 interrupt-parent = <&gpio>;
0139 interrupts = <60 IRQ_TYPE_EDGE_RISING>;
0140 compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input";
0141 spi-max-frequency = <33000000>;
0142 };
0143 };
0144
0145 &gpu_2d {
0146 status = "okay";
0147 };
0148
0149 &gpu_3d {
0150 status = "okay";
0151 };