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

aspeed-bmc-arm-centriq2400-rep.dts (3301B)


      1// SPDX-License-Identifier: GPL-2.0+
      2/dts-v1/;
      3
      4#include "aspeed-g5.dtsi"
      5#include <dt-bindings/gpio/aspeed-gpio.h>
      6
      7/ {
      8	model = "Qualcomm Centriq 2400  REP AST2520";
      9	compatible = "qualcomm,centriq2400-rep-bmc", "aspeed,ast2500";
     10
     11	chosen {
     12		stdout-path = &uart5;
     13		bootargs = "console=ttyS4,115200 earlycon";
     14	};
     15
     16	memory@80000000 {
     17		reg = <0x80000000 0x40000000>;
     18	};
     19
     20	iio-hwmon {
     21		compatible = "iio-hwmon";
     22		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
     23                        <&adc 4>, <&adc 5>, <&adc 6>, <&adc 8>;
     24	};
     25
     26	iio-hwmon-battery {
     27		compatible = "iio-hwmon";
     28		io-channels = <&adc 7>;
     29	};
     30
     31	leds {
     32		compatible = "gpio-leds";
     33
     34		uid_led {
     35			label = "UID_LED";
     36			gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>;
     37		};
     38
     39		ras_error_led {
     40			label = "RAS_ERROR_LED";
     41			gpios = <&gpio ASPEED_GPIO(F, 6) GPIO_ACTIVE_LOW>;
     42		};
     43
     44		system_fault {
     45			label = "System_fault";
     46			gpios = <&gpio ASPEED_GPIO(A, 1) GPIO_ACTIVE_LOW>;
     47		};
     48	};
     49};
     50
     51&fmc {
     52	status = "okay";
     53	flash@0 {
     54		status = "okay";
     55		m25p,fast-read;
     56		label = "bmc";
     57#include "openbmc-flash-layout.dtsi"
     58	};
     59};
     60
     61&spi1 {
     62	status = "okay";
     63	pinctrl-names = "default";
     64	pinctrl-0 = <&pinctrl_spi1_default>;
     65	flash@0 {
     66		status = "okay";
     67	};
     68};
     69
     70&spi2 {
     71	pinctrl-names = "default";
     72	pinctrl-0 = <&pinctrl_spi2ck_default
     73			&pinctrl_spi2miso_default
     74			&pinctrl_spi2mosi_default
     75			&pinctrl_spi2cs0_default>;
     76};
     77
     78&uart3 {
     79	status = "okay";
     80
     81	pinctrl-names = "default";
     82	pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>;
     83	current-speed = <115200>;
     84};
     85
     86&uart5 {
     87	status = "okay";
     88};
     89
     90&mac0 {
     91	status = "okay";
     92
     93	pinctrl-names = "default";
     94	pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
     95};
     96
     97&i2c0 {
     98	status = "okay";
     99};
    100
    101&i2c1 {
    102	status = "okay";
    103
    104	tmp421@1e {
    105		compatible = "ti,tmp421";
    106		reg = <0x1e>;
    107	};
    108	tmp421@2a {
    109		compatible = "ti,tmp421";
    110		reg = <0x2a>;
    111	};
    112	tmp421@4e {
    113		compatible = "ti,tmp421";
    114		reg = <0x4e>;
    115	};
    116	tmp421@1c {
    117		compatible = "ti,tmp421";
    118		reg = <0x1c>;
    119	};
    120};
    121
    122&i2c2 {
    123	status = "okay";
    124};
    125
    126&i2c3 {
    127	status = "okay";
    128};
    129
    130&i2c4 {
    131	status = "okay";
    132};
    133
    134&i2c5 {
    135	status = "okay";
    136};
    137
    138&i2c6 {
    139	status = "okay";
    140
    141	tmp421@1d {
    142		compatible = "ti,tmp421";
    143		reg = <0x1d>;
    144	};
    145	tmp421@1f {
    146		compatible = "ti,tmp421";
    147		reg = <0x1f>;
    148	};
    149	tmp421@4d {
    150		compatible = "ti,tmp421";
    151		reg = <0x4d>;
    152	};
    153	tmp421@4f {
    154		compatible = "ti,tmp421";
    155		reg = <0x4f>;
    156	};
    157	nvt210@4c {
    158		compatible = "nvt210";
    159		reg = <0x4c>;
    160	};
    161	eeprom@50 {
    162		compatible = "atmel,24c128";
    163		reg = <0x50>;
    164		pagesize = <128>;
    165	};
    166};
    167
    168&i2c7 {
    169	status = "okay";
    170};
    171
    172&i2c8 {
    173	status = "okay";
    174
    175	pca9641@70 {
    176		compatible = "nxp,pca9641";
    177		reg = <0x70>;
    178		i2c-arb {
    179			#address-cells = <1>;
    180			#size-cells = <0>;
    181			tmp421@1d {
    182				compatible = "tmp421";
    183				reg = <0x1d>;
    184			};
    185			adm1278@12 {
    186				compatible = "adi,adm1278";
    187				reg = <0x12>;
    188				Rsense = <500>;
    189			};
    190			eeprom@50 {
    191				compatible = "atmel,24c02";
    192				reg = <0x50>;
    193			};
    194			ds1100@58 {
    195				compatible = "ds1100";
    196				reg = <0x58>;
    197			};
    198		};
    199	};
    200};
    201
    202&i2c9 {
    203	status = "okay";
    204};
    205
    206&vuart {
    207	status = "okay";
    208};
    209
    210&gfx {
    211	status = "okay";
    212};
    213
    214&pinctrl {
    215	aspeed,external-nodes = <&gfx &lhc>;
    216};
    217
    218&gpio {
    219	pin_gpio_c7 {
    220		gpio-hog;
    221		gpios = <ASPEED_GPIO(C, 7) GPIO_ACTIVE_HIGH>;
    222		output;
    223		line-name = "BIOS_SPI_MUX_S";
    224	};
    225};