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

r7s72100-rskrza1.dts (4374B)


      1// SPDX-License-Identifier: GPL-2.0
      2/*
      3 * Device Tree Source for the RZ/A1H RSK board
      4 *
      5 * Copyright (C) 2016 Renesas Electronics
      6 */
      7
      8/dts-v1/;
      9#include "r7s72100.dtsi"
     10#include <dt-bindings/gpio/gpio.h>
     11#include <dt-bindings/input/input.h>
     12#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
     13
     14/ {
     15	model = "RSKRZA1";
     16	compatible = "renesas,rskrza1", "renesas,r7s72100";
     17
     18	aliases {
     19		serial0 = &scif2;
     20	};
     21
     22	chosen {
     23		bootargs = "ignore_loglevel";
     24		stdout-path = "serial0:115200n8";
     25	};
     26
     27	memory@8000000 {
     28		device_type = "memory";
     29		reg = <0x08000000 0x02000000>;
     30	};
     31
     32	keyboard {
     33		compatible = "gpio-keys";
     34
     35		pinctrl-names = "default";
     36		pinctrl-0 = <&keyboard_pins>;
     37
     38		key-1 {
     39			interrupt-parent = <&irqc>;
     40			interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
     41			linux,code = <KEY_1>;
     42			label = "SW1";
     43			wakeup-source;
     44		};
     45
     46		key-2 {
     47			interrupt-parent = <&irqc>;
     48			interrupts = <2 IRQ_TYPE_EDGE_BOTH>;
     49			linux,code = <KEY_2>;
     50			label = "SW2";
     51			wakeup-source;
     52		};
     53
     54		key-3 {
     55			interrupt-parent = <&irqc>;
     56			interrupts = <5 IRQ_TYPE_EDGE_BOTH>;
     57			linux,code = <KEY_3>;
     58			label = "SW3";
     59			wakeup-source;
     60		};
     61	};
     62
     63	lbsc {
     64		#address-cells = <1>;
     65		#size-cells = <1>;
     66	};
     67
     68	leds {
     69		compatible = "gpio-leds";
     70
     71		led0 {
     72			gpios = <&port7 1 GPIO_ACTIVE_LOW>;
     73		};
     74
     75		led1 {
     76			gpios = <&io_expander1 0 GPIO_ACTIVE_LOW>;
     77		};
     78
     79		led2 {
     80			gpios = <&io_expander1 1 GPIO_ACTIVE_LOW>;
     81		};
     82
     83		led3 {
     84			gpios = <&io_expander1 2 GPIO_ACTIVE_LOW>;
     85		};
     86	};
     87};
     88
     89&extal_clk {
     90	clock-frequency = <13330000>;
     91};
     92
     93&i2c3 {
     94	pinctrl-names = "default";
     95	pinctrl-0 = <&i2c3_pins>;
     96	status = "okay";
     97
     98	clock-frequency = <400000>;
     99
    100	io_expander1: gpio@20 {
    101		compatible = "onnn,cat9554";
    102		reg = <0x20>;
    103		gpio-controller;
    104		#gpio-cells = <2>;
    105	};
    106
    107	io_expander2: gpio@21 {
    108		compatible = "onnn,cat9554";
    109		reg = <0x21>;
    110		gpio-controller;
    111		#gpio-cells = <2>;
    112	};
    113
    114	eeprom@50 {
    115		compatible = "renesas,r1ex24016", "atmel,24c16";
    116		reg = <0x50>;
    117		pagesize = <16>;
    118	};
    119};
    120
    121&usb_x1_clk {
    122	clock-frequency = <48000000>;
    123};
    124
    125&rtc_x1_clk {
    126	clock-frequency = <32768>;
    127};
    128
    129&pinctrl {
    130	/* RIIC ch3 (Port Expander, EEPROM (MAC Addr), Audio Codec) */
    131	i2c3_pins: i2c3 {
    132		pinmux = <RZA1_PINMUX(1, 6, 1)>,	/* RIIC3SCL */
    133			 <RZA1_PINMUX(1, 7, 1)>;	/* RIIC3SDA */
    134	};
    135
    136	keyboard_pins: keyboard {
    137		pinmux = <RZA1_PINMUX(1, 9, 3)>,	/* IRQ3 */
    138			 <RZA1_PINMUX(1, 8, 3)>,	/* IRQ2 */
    139			 <RZA1_PINMUX(1, 11, 3)>;	/* IRQ5 */
    140	};
    141
    142	/* Serial Console */
    143	scif2_pins: serial2 {
    144		pinmux = <RZA1_PINMUX(3, 0, 6)>,	/* TxD2 */
    145			 <RZA1_PINMUX(3, 2, 4)>;	/* RxD2 */
    146	};
    147
    148	/* Ethernet */
    149	ether_pins: ether {
    150		/* Ethernet on Ports 1,2,3,5 */
    151		pinmux = <RZA1_PINMUX(1, 14, 4)>,	/* ET_COL   */
    152			 <RZA1_PINMUX(5, 9, 2)>,	/* ET_MDC   */
    153			 <RZA1_PINMUX(3, 3, 2)>,	/* ET_MDIO  */
    154			 <RZA1_PINMUX(3, 4, 2)>,	/* ET_RXCLK */
    155			 <RZA1_PINMUX(3, 5, 2)>,	/* ET_RXER  */
    156			 <RZA1_PINMUX(3, 6, 2)>,	/* ET_RXDV  */
    157			 <RZA1_PINMUX(2, 0, 2)>,	/* ET_TXCLK */
    158			 <RZA1_PINMUX(2, 1, 2)>,	/* ET_TXER  */
    159			 <RZA1_PINMUX(2, 2, 2)>,	/* ET_TXEN  */
    160			 <RZA1_PINMUX(2, 3, 2)>,	/* ET_CRS   */
    161			 <RZA1_PINMUX(2, 4, 2)>,	/* ET_TXD0  */
    162			 <RZA1_PINMUX(2, 5, 2)>,	/* ET_TXD1  */
    163			 <RZA1_PINMUX(2, 6, 2)>,	/* ET_TXD2  */
    164			 <RZA1_PINMUX(2, 7, 2)>,	/* ET_TXD3  */
    165			 <RZA1_PINMUX(2, 8, 2)>,	/* ET_RXD0  */
    166			 <RZA1_PINMUX(2, 9, 2)>,	/* ET_RXD1  */
    167			 <RZA1_PINMUX(2, 10, 2)>,	/* ET_RXD2  */
    168			 <RZA1_PINMUX(2, 11, 2)>;	/* ET_RXD3  */
    169	};
    170
    171	/* SDHI ch1 on CN1 */
    172	sdhi1_pins: sdhi1 {
    173		pinmux = <RZA1_PINMUX(3, 8, 7)>,	/* SD_CD_1 */
    174			 <RZA1_PINMUX(3, 9, 7)>,	/* SD_WP_1 */
    175			 <RZA1_PINMUX(3, 10, 7)>,	/* SD_D1_1 */
    176			 <RZA1_PINMUX(3, 11, 7)>,	/* SD_D0_1 */
    177			 <RZA1_PINMUX(3, 12, 7)>,	/* SD_CLK_1 */
    178			 <RZA1_PINMUX(3, 13, 7)>,	/* SD_CMD_1 */
    179			 <RZA1_PINMUX(3, 14, 7)>,	/* SD_D3_1 */
    180			 <RZA1_PINMUX(3, 15, 7)>;	/* SD_D2_1 */
    181	};
    182};
    183
    184&mtu2 {
    185	status = "okay";
    186};
    187
    188&ether {
    189	pinctrl-names = "default";
    190	pinctrl-0 = <&ether_pins>;
    191	status = "okay";
    192	renesas,no-ether-link;
    193	phy-handle = <&phy0>;
    194	phy0: ethernet-phy@0 {
    195		compatible = "ethernet-phy-idb824.2814",
    196			     "ethernet-phy-ieee802.3-c22";
    197		reg = <0>;
    198	};
    199};
    200
    201&sdhi1 {
    202	pinctrl-names = "default";
    203	pinctrl-0 = <&sdhi1_pins>;
    204	bus-width = <4>;
    205	status = "okay";
    206};
    207
    208&ostm0 {
    209	status = "okay";
    210};
    211
    212&ostm1 {
    213	status = "okay";
    214};
    215
    216&rtc {
    217	status = "okay";
    218};
    219
    220&scif2 {
    221	pinctrl-names = "default";
    222	pinctrl-0 = <&scif2_pins>;
    223	status = "okay";
    224};