Merge tag 'drm-for-v4.15-part2-fixes' of git://people.freedesktop.org/~airlied/linux
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm53340-ubnt-unifi-switch8.dts
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                 reg = <0x00000000 0x08000000>,
24                       <0x68000000 0x08000000>;
25         };
26 };
27
28 &uart1 {
29         status = "okay";
30 };
31
32 &qspi {
33         status = "okay";
34         bspi-sel = <0>;
35
36         flash: m25p80@0 {
37                 compatible = "m25p80";
38                 reg = <0>;
39                 #address-cells = <1>;
40                 #size-cells = <1>;
41                 spi-max-frequency = <12500000>;
42                 spi-cpol;
43                 spi-cpha;
44
45                 partition@0 {
46                         label = "u-boot";
47                         reg = <0x0 0xc0000>;
48                 };
49
50                 partition@c0000 {
51                         label = "u-boot-env";
52                         reg = <0xc0000 0x10000>;
53                 };
54
55                 partition@d0000 {
56                         label = "shmoo";
57                         reg = <0xd0000 0x10000>;
58                 };
59
60                 partition@e0000 {
61                         label = "kernel0";
62                         reg = <0xe0000 0xf00000>;
63                 };
64
65                 partition@fe0000 {
66                         label = "kernel1";
67                         reg = <0xfe0000 0xf10000>;
68                 };
69
70                 partition@1ef0000 {
71                         label = "cfg";
72                         reg = <0x1ef0000 0x100000>;
73                 };
74
75                 partition@1ff0000 {
76                         label = "EEPROM";
77                         reg = <0x1ff0000 0x10000>;
78                 };
79         };
80 };
81
82 &pcie0 {
83         /* Attaches to the internal switch */
84         status = "okay";
85 };