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

bcm53340-ubnt-unifi-switch8.dts (1382B)


      1/*
      2 * DTS for Unifi Switch 8 port
      3 *
      4 * Copyright (C) 2017 Florian Fainelli <f.fainelli@gmail.com>
      5 *
      6 * Licensed under the GNU/GPL. See COPYING for details.
      7 */
      8
      9/dts-v1/;
     10
     11#include "bcm-hr2.dtsi"
     12
     13/ {
     14	compatible = "ubnt,unifi-switch8", "brcm,bcm53342", "brcm,hr2";
     15	model = "Ubiquiti UniFi Switch 8 (BCM53342)";
     16
     17	/* Hurricane 2 designs use the second UART */
     18	chosen {
     19		bootargs = "console=ttyS1,115200 earlyprintk";
     20	};
     21
     22	memory@0 {
     23		device_type = "memory";
     24		reg = <0x00000000 0x08000000>,
     25		      <0x68000000 0x08000000>;
     26	};
     27};
     28
     29&uart1 {
     30	status = "okay";
     31};
     32
     33&qspi {
     34	status = "okay";
     35	bspi-sel = <0>;
     36
     37	flash: flash@0 {
     38		compatible = "m25p80";
     39		reg = <0>;
     40		#address-cells = <1>;
     41		#size-cells = <1>;
     42		spi-max-frequency = <12500000>;
     43		spi-cpol;
     44		spi-cpha;
     45
     46		partition@0 {
     47			label = "u-boot";
     48			reg = <0x0 0xc0000>;
     49		};
     50
     51		partition@c0000 {
     52			label = "u-boot-env";
     53			reg = <0xc0000 0x10000>;
     54		};
     55
     56		partition@d0000 {
     57			label = "shmoo";
     58			reg = <0xd0000 0x10000>;
     59		};
     60
     61		partition@e0000 {
     62			label = "kernel0";
     63			reg = <0xe0000 0xf00000>;
     64		};
     65
     66		partition@fe0000 {
     67			label = "kernel1";
     68			reg = <0xfe0000 0xf10000>;
     69		};
     70
     71		partition@1ef0000 {
     72			label = "cfg";
     73			reg = <0x1ef0000 0x100000>;
     74		};
     75
     76		partition@1ff0000 {
     77			label = "EEPROM";
     78			reg = <0x1ff0000 0x10000>;
     79		};
     80	};
     81};
     82
     83&pcie0 {
     84	/* Attaches to the internal switch */
     85	status = "okay";
     86};