mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
abe60a3a7a
Remove the usage of skeleton.dtsi in the remaining dts files. It was
deprecated since commit 9c0da3cc61
("ARM: dts: explicitly mark
skeleton.dtsi as deprecated"). This will make adding a unit-address to
memory nodes easier.
The main tricky part to removing skeleton.dtsi is we could end up with
no /memory node at all when a bootloader depends on one being present. I
hacked up dtc to check for this condition.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
87 lines
1.4 KiB
Plaintext
87 lines
1.4 KiB
Plaintext
/*
|
|
* DTS for Unifi Switch 8 port
|
|
*
|
|
* Copyright (C) 2017 Florian Fainelli <f.fainelli@gmail.com>
|
|
*
|
|
* Licensed under the GNU/GPL. See COPYING for details.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "bcm-hr2.dtsi"
|
|
|
|
/ {
|
|
compatible = "ubnt,unifi-switch8", "brcm,bcm53342", "brcm,hr2";
|
|
model = "Ubiquiti UniFi Switch 8 (BCM53342)";
|
|
|
|
/* Hurricane 2 designs use the second UART */
|
|
chosen {
|
|
bootargs = "console=ttyS1,115200 earlyprintk";
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x08000000>,
|
|
<0x68000000 0x08000000>;
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&qspi {
|
|
status = "okay";
|
|
bspi-sel = <0>;
|
|
|
|
flash: m25p80@0 {
|
|
compatible = "m25p80";
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
spi-max-frequency = <12500000>;
|
|
spi-cpol;
|
|
spi-cpha;
|
|
|
|
partition@0 {
|
|
label = "u-boot";
|
|
reg = <0x0 0xc0000>;
|
|
};
|
|
|
|
partition@c0000 {
|
|
label = "u-boot-env";
|
|
reg = <0xc0000 0x10000>;
|
|
};
|
|
|
|
partition@d0000 {
|
|
label = "shmoo";
|
|
reg = <0xd0000 0x10000>;
|
|
};
|
|
|
|
partition@e0000 {
|
|
label = "kernel0";
|
|
reg = <0xe0000 0xf00000>;
|
|
};
|
|
|
|
partition@fe0000 {
|
|
label = "kernel1";
|
|
reg = <0xfe0000 0xf10000>;
|
|
};
|
|
|
|
partition@1ef0000 {
|
|
label = "cfg";
|
|
reg = <0x1ef0000 0x100000>;
|
|
};
|
|
|
|
partition@1ff0000 {
|
|
label = "EEPROM";
|
|
reg = <0x1ff0000 0x10000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pcie0 {
|
|
/* Attaches to the internal switch */
|
|
status = "okay";
|
|
};
|