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