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

at91-kizboxmini-common.dtsi (2828B)


      1// SPDX-License-Identifier: GPL-2.0
      2/*
      3 * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
      4 *
      5 * Copyright (C) 2014-2018 Overkiz SAS
      6 *   Author: Antoine Aubert <a.aubert@overkiz.com>
      7 *           Gaël Portay <g.portay@overkiz.com>
      8 *           Kévin Raymond <k.raymond@overkiz.com>
      9 *           Dorian Rocipon <d.rocipon@overkiz.com>
     10 */
     11#include "at91sam9g25.dtsi"
     12
     13/ {
     14	chosen {
     15		bootargs = "ubi.mtd=ubi";
     16		stdout-path = &dbgu;
     17	};
     18
     19	memory@20000000 {
     20		reg = <0x20000000 0x8000000>;
     21	};
     22
     23	clocks {
     24		main_xtal {
     25			clock-frequency = <12000000>;
     26		};
     27
     28		slow_xtal {
     29			clock-frequency = <32768>;
     30		};
     31
     32		adc_op_clk {
     33			status = "disabled";
     34		};
     35	};
     36
     37	gpio_keys {
     38		compatible = "gpio-keys";
     39		#address-cells = <1>;
     40		#size-cells = <0>;
     41
     42		prog {
     43			label = "PB_PROG";
     44			gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
     45			linux,code = <0x102>;
     46			wakeup-source;
     47		};
     48
     49		reset {
     50			label = "PB_RST";
     51			gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
     52			linux,code = <0x100>;
     53			wakeup-source;
     54		};
     55	};
     56
     57	leds: led-controller-1 {
     58		compatible = "pwm-leds";
     59
     60		led_blue: led-1 {
     61			label = "pwm:blue:user";
     62			pwms = <&pwm0 2 10000000 0>;
     63			max-brightness = <255>;
     64			linux,default-trigger = "none";
     65			status = "disabled";
     66		};
     67
     68		led_green: led-2 {
     69			label = "pwm:green:user";
     70			pwms = <&pwm0 0 10000000 0>;
     71			max-brightness = <255>;
     72			linux,default-trigger = "default-on";
     73		};
     74
     75		led_red: led-3 {
     76			label = "pwm:red:user";
     77			pwms = <&pwm0 1 10000000 0>;
     78			max-brightness = <255>;
     79			linux,default-trigger = "default-on";
     80		};
     81	};
     82};
     83
     84&usart0 {
     85	atmel,use-dma-rx;
     86	atmel,use-dma-tx;
     87	status = "okay";
     88};
     89
     90&macb0 {
     91	phy-mode = "rmii";
     92	status = "okay";
     93};
     94
     95&pwm0 {
     96	pinctrl-names = "default";
     97	pinctrl-0 = <&pinctrl_pwm0_pwm0_1
     98		     &pinctrl_pwm0_pwm1_1
     99		     &pinctrl_pwm0_pwm2_1>;
    100	status = "okay";
    101};
    102
    103&dbgu {
    104	status = "okay";
    105};
    106
    107&watchdog {
    108	status = "okay";
    109};
    110
    111&adc0 {
    112	status = "disabled";
    113};
    114
    115&rtc {
    116	status = "disabled";
    117};
    118
    119&ebi {
    120	pinctrl-0 = <&pinctrl_ebi_addr_nand
    121			&pinctrl_ebi_data_0_7>;
    122	pinctrl-names = "default";
    123	status = "okay";
    124};
    125
    126&nand_controller {
    127	status = "okay";
    128	pinctrl-0 = <&pinctrl_nand_oe_we
    129		     &pinctrl_nand_cs
    130		     &pinctrl_nand_rb>;
    131	pinctrl-names = "default";
    132
    133	nand@3 {
    134		reg = <0x3 0x0 0x800000>;
    135		rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
    136		cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
    137		nand-bus-width = <8>;
    138		nand-ecc-mode = "hw";
    139		nand-ecc-strength = <4>;
    140		nand-ecc-step-size = <512>;
    141		nand-on-flash-bbt;
    142		label = "atmel_nand";
    143
    144		partitions {
    145			compatible = "fixed-partitions";
    146			#address-cells = <1>;
    147			#size-cells = <1>;
    148
    149			bootstrap@0 {
    150				label = "bootstrap";
    151				reg = <0x0 0x20000>;
    152			};
    153
    154			ubi@20000 {
    155				label = "ubi";
    156				reg = <0x20000 0x7fe0000>;
    157			};
    158		};
    159	};
    160};
    161
    162&usb0 {
    163	num-ports = <1>;
    164	status = "okay";
    165};
    166
    167&usb1 {
    168	status = "okay";
    169};
    170