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

tegra30-colibri-eval-v3.dts (3904B)


      1// SPDX-License-Identifier: GPL-2.0
      2/dts-v1/;
      3
      4#include <dt-bindings/input/input.h>
      5#include "tegra30-colibri.dtsi"
      6
      7/ {
      8	model = "Toradex Colibri T30 on Colibri Evaluation Board";
      9	compatible = "toradex,colibri_t30-eval-v3", "toradex,colibri_t30",
     10		     "nvidia,tegra30";
     11
     12	aliases {
     13		rtc0 = "/i2c@7000c000/rtc@68";
     14		rtc1 = "/i2c@7000d000/pmic@2d";
     15		rtc2 = "/rtc@7000e000";
     16		serial0 = &uarta;
     17		serial1 = &uartb;
     18		serial2 = &uartd;
     19	};
     20
     21	chosen {
     22		stdout-path = "serial0:115200n8";
     23	};
     24
     25	host1x@50000000 {
     26		dc@54200000 {
     27			rgb {
     28				status = "okay";
     29				nvidia,panel = <&panel>;
     30			};
     31		};
     32
     33		hdmi@54280000 {
     34			status = "okay";
     35			hdmi-supply = <&reg_5v0>;
     36		};
     37	};
     38
     39	/* Colibri UART-A */
     40	serial@70006000 {
     41		status = "okay";
     42	};
     43
     44	/* Colibri UART-C */
     45	serial@70006040 {
     46		status = "okay";
     47	};
     48
     49	/* Colibri UART-B */
     50	serial@70006300 {
     51		status = "okay";
     52	};
     53
     54	pwm@7000a000 {
     55		status = "okay";
     56	};
     57
     58	/*
     59	 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
     60	 * board)
     61	 */
     62	i2c@7000c000 {
     63		status = "okay";
     64		clock-frequency = <400000>;
     65
     66		/* M41T0M6 real time clock on carrier board */
     67		rtc@68 {
     68			compatible = "st,m41t0";
     69			reg = <0x68>;
     70		};
     71	};
     72
     73	/* GEN2_I2C: unused */
     74
     75	/* CAM_I2C (I2C3): unused */
     76
     77	/* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
     78	i2c@7000c700 {
     79		status = "okay";
     80	};
     81
     82	/* SPI1: Colibri SSP */
     83	spi@7000d400 {
     84		status = "okay";
     85		spi-max-frequency = <25000000>;
     86
     87		can@0 {
     88			compatible = "microchip,mcp2515";
     89			reg = <0>;
     90			clocks = <&clk16m>;
     91			interrupt-parent = <&gpio>;
     92			/* CAN_INT */
     93			interrupts = <TEGRA_GPIO(S, 0) IRQ_TYPE_EDGE_FALLING>;
     94			spi-max-frequency = <10000000>;
     95			vdd-supply = <&reg_3v3>;
     96			xceiver-supply = <&reg_5v0>;
     97		};
     98	};
     99
    100	/* SD/MMC */
    101	mmc@78000200 {
    102		status = "okay";
    103		bus-width = <4>;
    104		cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>; /* MMCD */
    105		no-1-8-v;
    106	};
    107
    108	/* EHCI instance 0: USB1_DP/N -> USBC_P/N */
    109	usb@7d000000 {
    110		status = "okay";
    111		dr_mode = "otg";
    112	};
    113
    114	usb-phy@7d000000 {
    115		status = "okay";
    116		vbus-supply = <&reg_usbc_vbus>;
    117	};
    118
    119	/* EHCI instance 2: USB3_DP/N -> USBH_P/N */
    120	usb@7d008000 {
    121		status = "okay";
    122	};
    123
    124	usb-phy@7d008000 {
    125		status = "okay";
    126		vbus-supply = <&reg_usbh_vbus>;
    127	};
    128
    129	backlight: backlight {
    130		compatible = "pwm-backlight";
    131		brightness-levels = <255 128 64 32 16 8 4 0>;
    132		default-brightness-level = <6>;
    133		/* BL_ON */
    134		enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
    135		power-supply = <&reg_3v3>;
    136		pwms = <&pwm 0 5000000>; /* PWM<A> */
    137	};
    138
    139	clk16m: osc3 {
    140		compatible = "fixed-clock";
    141		#clock-cells = <0>;
    142		clock-frequency = <16000000>;
    143	};
    144
    145	gpio-keys {
    146		compatible = "gpio-keys";
    147
    148		wakeup {
    149			label = "SODIMM pin 45 wakeup";
    150			gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
    151			linux,code = <KEY_WAKEUP>;
    152			debounce-interval = <10>;
    153			wakeup-source;
    154		};
    155	};
    156
    157	panel: panel {
    158		/*
    159		 * edt,et057090dhu: EDT 5.7" LCD TFT
    160		 * edt,et070080dh6: EDT 7.0" LCD TFT
    161		 */
    162		compatible = "edt,et057090dhu";
    163		backlight = <&backlight>;
    164		power-supply = <&reg_3v3>;
    165	};
    166
    167	reg_3v3: regulator-3v3 {
    168		compatible = "regulator-fixed";
    169		regulator-name = "3.3V_SW";
    170		regulator-min-microvolt = <3300000>;
    171		regulator-max-microvolt = <3300000>;
    172	};
    173
    174	reg_5v0: regulator-5v0 {
    175		compatible = "regulator-fixed";
    176		regulator-name = "5V_SW";
    177		regulator-min-microvolt = <5000000>;
    178		regulator-max-microvolt = <5000000>;
    179	};
    180
    181	reg_usbc_vbus: regulator-usbc-vbus {
    182		compatible = "regulator-fixed";
    183		regulator-name = "VCC_USB5";
    184		regulator-min-microvolt = <5000000>;
    185		regulator-max-microvolt = <5000000>;
    186		vin-supply = <&reg_5v0>;
    187	};
    188
    189	/* USBH_PEN resp. USB_P_EN */
    190	reg_usbh_vbus: regulator-usbh-vbus {
    191		compatible = "regulator-fixed";
    192		regulator-name = "VCC_USB[1-4]";
    193		regulator-min-microvolt = <5000000>;
    194		regulator-max-microvolt = <5000000>;
    195		gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
    196		vin-supply = <&reg_5v0>;
    197	};
    198};