cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mmp3-dell-ariel.dts (2450B)


      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		available = <0x7f700000 0x7ff00000 0x00000000 0x7f600000>;
     30		reg = <0x0 0x80000000>;
     31		device_type = "memory";
     32	};
     33
     34	ec_input_spi: spi {
     35		compatible = "spi-gpio";
     36		#address-cells = <1>;
     37		#size-cells = <0>;
     38
     39		num-chipselects = <0>;
     40		sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>;
     41		miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>;
     42		mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>;
     43	};
     44};
     45
     46&uart3 {
     47	status = "okay";
     48};
     49
     50&rtc {
     51	status = "okay";
     52};
     53
     54&usb_otg0 {
     55	status = "okay";
     56};
     57
     58&usb_otg_phy0 {
     59	status = "okay";
     60};
     61
     62&hsic0 {
     63	status = "okay";
     64
     65	usb1@1 {
     66		compatible = "usb424,2640";
     67		reg = <0x01>;
     68		#address-cells = <0x01>;
     69		#size-cells = <0x00>;
     70
     71		mass-storage@1 {
     72			compatible = "usb424,4040";
     73			reg = <0x01>;
     74			status = "disabled";
     75		};
     76	};
     77};
     78
     79&hsic_phy0 {
     80	status = "okay";
     81	reset-gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
     82};
     83
     84&mmc3 {
     85	status = "okay";
     86	max-frequency = <50000000>;
     87	status = "okay";
     88	bus-width = <8>;
     89	non-removable;
     90	cap-mmc-highspeed;
     91};
     92
     93&twsi1 {
     94	status = "okay";
     95
     96	rtc@68 {
     97		compatible = "dallas,ds1338";
     98		reg = <0x68>;
     99		status = "okay";
    100	};
    101};
    102
    103&twsi3 {
    104	status = "okay";
    105};
    106
    107&twsi4 {
    108	status = "okay";
    109
    110	embedded-controller@58 {
    111		compatible = "dell,wyse-ariel-ec", "ene,kb3930";
    112		reg = <0x58>;
    113		system-power-controller;
    114
    115		off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
    116			    <&gpio 127 GPIO_ACTIVE_HIGH>;
    117	};
    118};
    119
    120&ssp1 {
    121	status = "okay";
    122	cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
    123
    124	firmware-flash@0 {
    125		compatible = "winbond,w25q32", "jedec,spi-nor";
    126		reg = <0>;
    127		spi-max-frequency = <104000000>;
    128		m25p,fast-read;
    129	};
    130};
    131
    132&ec_input_spi {
    133	status = "okay";
    134	cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
    135
    136	power-button@0 {
    137		reg = <0>;
    138		interrupt-parent = <&gpio>;
    139		interrupts = <60 IRQ_TYPE_EDGE_RISING>;
    140		compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input";
    141		spi-max-frequency = <33000000>;
    142	};
    143};
    144
    145&gpu_2d {
    146	status = "okay";
    147};
    148
    149&gpu_3d {
    150	status = "okay";
    151};