This pull request contains Broadcom ARM-based SoC Device Tree changes for 4.11,

please pull the following changes:
 
 - Rafal enables the UART by default on all BCM5301x, BCM4708, BCM4709 since
   every device found out there has it enabled by default. He also fixes the
   LED definitions for the Luxul XWR-3100 device, enables USB controllers and
   their respective PHY devices, specifies the correct GPIO to power on USB
   HUBs, adds the additional RAM bank for somes devices, and finally sets the
   correct 5Ghz frequency limits on the Netgear R8000
 
 - Jon does a number of Norsthar Plus SoC cleanups, fixes NAND partitions unit
   addresses, adds QSPI support to a bunch of boards, adds Ethernet switch ports
   to the BCM958625K reference board, enables 3rd Ethernet MAC instance to
   relevant DTSes, enables Ethernet on the XMC board, and finally adds SD/MMC
   support to the XMC board
 
 - Boris adds the Video Encoder nodes to the Raspberry Pi DTS include files
   ands enables it on the relevant boards
 
 - Dan adds support for two new Luxul devices: XAP-1410 and XWR-1200, both
   BCM47081 based SoCs
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJYgBUvAAoJEIfQlpxEBwcED8sQAJxH/wTLvHkXxbc1sXeizGW9
 FKxRnYR0gvUAm1skSttw8OADQzYcSa3frNh4sV3X9dV1SqzSzaRJP5hjBlzxIQdJ
 72TJC8t7tFbjNBOG/fVqei8yAtgu/VjOP7Co8oLlON9EX1A2nsFgHQfOM7pJWdkR
 mzaWQr/PI1+Jp3DFRVG/G503ummxN4SR6MG+37juW9ip446N9asT4e7eeRZkkGtD
 uXtPn34sS3Pp2CN/4wFrG9Y6NRs4eVdaw+VNjelSRbhgBzFzSJVr255fHpazq5xw
 UwUMsfYv1gBhvzMoHCyAohF7nTIll7rMqoPBsjawlbkaCV1UYkA0fG/fRZ7oDuU4
 5BZoztqRzr0XRi95ssfuzb9A1aXa2Et15XAvcKL+ZwqSU6LNPe9alNV3TjQEoAFX
 713owKbAiKA0ACtiRlOgRG9TlcE86u4XCh0IpDhLwsyVl02BzASLpX9x61Ztg2FS
 HsZlXUDFL2e9lFrz9ECqvWcZGGDKZDovLWXWNUebe0L1LEoSB4+lQvMJ1kYGupP4
 ceVROUhB5DiTHHxPrg2bpaYSSLA/GMvvA8A/peDPGxxh7vQMy9ZPT7ows4k/q4Gl
 jsnUW6ukOUaiMRbwbh2cAqBVDxvz733FZhYils2Q/FgZBfiVBDOia6JQqfsBvHvY
 jZ0kzHgxCg5gKuZ2+sZ4
 =wFmP
 -----END PGP SIGNATURE-----

Merge tag 'arm-soc/for-4.11/devicetree' of http://github.com/Broadcom/stblinux into next/dt

This pull request contains Broadcom ARM-based SoC Device Tree changes for 4.11,
please pull the following changes:

- Rafal enables the UART by default on all BCM5301x, BCM4708, BCM4709 since
  every device found out there has it enabled by default. He also fixes the
  LED definitions for the Luxul XWR-3100 device, enables USB controllers and
  their respective PHY devices, specifies the correct GPIO to power on USB
  HUBs, adds the additional RAM bank for somes devices, and finally sets the
  correct 5Ghz frequency limits on the Netgear R8000

- Jon does a number of Norsthar Plus SoC cleanups, fixes NAND partitions unit
  addresses, adds QSPI support to a bunch of boards, adds Ethernet switch ports
  to the BCM958625K reference board, enables 3rd Ethernet MAC instance to
  relevant DTSes, enables Ethernet on the XMC board, and finally adds SD/MMC
  support to the XMC board

- Boris adds the Video Encoder nodes to the Raspberry Pi DTS include files
  ands enables it on the relevant boards

- Dan adds support for two new Luxul devices: XAP-1410 and XWR-1200, both
  BCM47081 based SoCs

* tag 'arm-soc/for-4.11/devicetree' of http://github.com/Broadcom/stblinux:
  ARM: dts: bcm283x: Enable the VEC IP on all RaspberryPi boards
  ARM: dts: bcm283x: Add VEC node in bcm283x.dtsi
  ARM: dts: BCM5301X: Add DT for Luxul XWR-1200
  ARM: dts: BCM5301X: Add DT for Luxul XAP-1410
  ARM: dts: BCM5301X: Set 5 GHz wireless frequency limits on Netgear R8000
  ARM: dts: NSP: Add SD/MMC support
  ARM: dts: NSP: Add Ethernet to NSP XMC
  ARM: dts: NSP: Add and enable amac2
  ARM: dts: NSP: Add BCM958625K switch ports
  ARM: dts: NSP: Add QSPI support to missing boards
  ARM: dts: NSP: Correct NAND partition unit address
  ARM: dts: NSP: DT Clean-ups
  ARM: dts: BCM53573: Specify USB ports of on-SoC controllers
  ARM: dts: BCM5301X: Specify all RAM by including an extra block
  ARM: dts: BCM5301X: Set GPIO enabling USB power on Netgear R7000
  ARM: dts: BCM5301X: Specify USB controllers in DT
  ARM: dts: BCM5301X: Fix LAN LED labels for Luxul XWR-3100
  ARM: dts: BCM5301X: Enable UART by default for BCM4708(1), BCM4709(4) & BCM53012

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2017-01-19 16:25:07 -08:00
commit 828a34b94c
43 changed files with 813 additions and 172 deletions

View file

@ -85,6 +85,8 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
bcm47081-asus-rt-n18u.dtb \
bcm47081-buffalo-wzr-600dhp2.dtb \
bcm47081-buffalo-wzr-900dhp.dtb \
bcm47081-luxul-xap-1410.dtb \
bcm47081-luxul-xwr-1200.dtb \
bcm4709-asus-rt-ac87u.dtb \
bcm4709-buffalo-wxr-1900dhp.dtb \
bcm4709-netgear-r7000.dtb \

View file

@ -209,6 +209,15 @@ dma@20000 {
#dma-cells = <1>;
};
sdio: sdhci@21000 {
compatible = "brcm,sdhci-iproc-cygnus";
reg = <0x21000 0x100>;
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
sdhci,auto-cmd12;
clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>;
status = "disabled";
};
amac0: ethernet@22000 {
compatible = "brcm,nsp-amac";
reg = <0x022000 0x1000>,
@ -227,6 +236,15 @@ amac1: ethernet@23000 {
status = "disabled";
};
amac2: ethernet@24000 {
compatible = "brcm,nsp-amac";
reg = <0x024000 0x1000>,
<0x112000 0x1000>;
reg-names = "amac_base", "idm_base";
interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
nand: nand@26000 {
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
reg = <0x026000 0x600>,
@ -241,29 +259,6 @@ nand: nand@26000 {
brcm,nand-has-wp;
};
gpiob: gpio@30000 {
compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
reg = <0x30000 0x50>;
#gpio-cells = <2>;
gpio-controller;
ngpios = <4>;
interrupt-controller;
interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
};
pwm: pwm@31000 {
compatible = "brcm,iproc-pwm";
reg = <0x31000 0x28>;
clocks = <&osc>;
#pwm-cells = <3>;
status = "disabled";
};
rng: rng@33000 {
compatible = "brcm,bcm-nsp-rng";
reg = <0x33000 0x14>;
};
qspi: qspi@27200 {
compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
reg = <0x027200 0x184>,
@ -293,6 +288,29 @@ qspi: qspi@27200 {
#size-cells = <0>;
};
gpiob: gpio@30000 {
compatible = "brcm,iproc-nsp-gpio", "brcm,iproc-gpio";
reg = <0x30000 0x50>;
#gpio-cells = <2>;
gpio-controller;
ngpios = <4>;
interrupt-controller;
interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
};
pwm: pwm@31000 {
compatible = "brcm,iproc-pwm";
reg = <0x31000 0x28>;
clocks = <&osc>;
#pwm-cells = <3>;
status = "disabled";
};
rng: rng@33000 {
compatible = "brcm,bcm-nsp-rng";
reg = <0x33000 0x14>;
};
ccbtimer0: timer@34000 {
compatible = "arm,sp804";
reg = <0x34000 0x1000>;

View file

@ -87,3 +87,8 @@ &hdmi {
power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
status = "okay";
};
&vec {
power-domains = <&power RPI_POWER_DOMAIN_VEC>;
status = "okay";
};

View file

@ -476,6 +476,14 @@ i2c2: i2c@7e805000 {
status = "disabled";
};
vec: vec@7e806000 {
compatible = "brcm,bcm2835-vec";
reg = <0x7e806000 0x1000>;
clocks = <&clocks BCM2835_CLOCK_VEC>;
interrupts = <2 27>;
status = "disabled";
};
pixelvalve@7e807000 {
compatible = "brcm,bcm2835-pixelvalve2";
reg = <0x7e807000 0x100>;

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
};
spi {
@ -136,10 +137,6 @@ eject {
};
};
&uart0 {
status = "okay";
};
&usb2 {
vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
};

View file

@ -55,10 +55,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&spi_nor {
status = "okay";
};

View file

@ -56,10 +56,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&spi_nor {
status = "okay";
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {
@ -83,10 +84,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {
@ -119,10 +120,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&spi_nor {
status = "okay";
};

View file

@ -34,3 +34,7 @@ cpu@1 {
};
};
&uart0 {
status = "okay";
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
spi {
@ -122,7 +123,3 @@ eject {
};
};
};
&uart0 {
status = "okay";
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
gpio-keys {

View file

@ -0,0 +1,60 @@
/*
* Copyright 2017 Luxul Inc.
*
* Licensed under the ISC license.
*/
/dts-v1/;
#include "bcm47081.dtsi"
/ {
compatible = "luxul,xap-1410v1", "brcm,bcm47081", "brcm,bcm4708";
model = "Luxul XAP-1410 V1";
chosen {
bootargs = "console=ttyS0,115200";
};
memory {
reg = <0x00000000 0x08000000>;
};
leds {
compatible = "gpio-leds";
5ghz {
label = "bcm53xx:blue:5ghz";
gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
2ghz {
label = "bcm53xx:blue:2ghz";
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
status {
label = "bcm53xx:green:status";
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "timer";
};
};
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart {
label = "Reset";
linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
};
};
};
&spi_nor {
status = "okay";
};

View file

@ -0,0 +1,107 @@
/*
* Copyright 2017 Luxul Inc.
*
* Licensed under the ISC license.
*/
/dts-v1/;
#include "bcm47081.dtsi"
#include "bcm5301x-nand-cs0-bch4.dtsi"
/ {
compatible = "luxul,xwr-1200v1", "brcm,bcm47081", "brcm,bcm4708";
model = "Luxul XWR-1200 V1";
chosen {
bootargs = "console=ttyS0,115200";
};
memory {
reg = <0x00000000 0x08000000>;
};
leds {
compatible = "gpio-leds";
power {
label = "bcm53xx:green:power";
gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-on";
};
lan3 {
label = "bcm53xx:green:lan3";
gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
lan4 {
label = "bcm53xx:green:lan4";
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
wan {
label = "bcm53xx:green:wan";
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
lan2 {
label = "bcm53xx:green:lan2";
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
usb {
label = "bcm53xx:green:usb";
gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
status {
label = "bcm53xx:green:status";
gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
linux,default-trigger = "timer";
};
2ghz {
label = "bcm53xx:green:2ghz";
gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
5ghz {
label = "bcm53xx:green:5ghz";
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
lan1 {
label = "bcm53xx:green:lan1";
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
};
};
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
restart {
label = "Reset";
linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
};
};
};
&usb2 {
vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
};
&spi_nor {
status = "okay";
};

View file

@ -24,3 +24,7 @@ cpu@0 {
};
};
};
&uart0 {
status = "okay";
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
};
leds {

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {
@ -101,6 +102,10 @@ restart {
};
};
&uart0 {
status = "okay";
&usb2 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {
@ -107,8 +108,52 @@ restart {
};
};
&uart0 {
status = "okay";
&pcie0 {
#address-cells = <3>;
#size-cells = <2>;
bridge@0,0,0 {
reg = <0x0000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
wifi@0,1,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5735000 5835000>;
};
};
};
&pcie1 {
#address-cells = <3>;
#size-cells = <2>;
bridge@1,0,0 {
reg = <0x0000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
bridge@1,1,0 {
reg = <0x0000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
bridge@1,2,2 {
reg = <0x1000 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
wifi@1,4,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5170000 5730000>;
};
};
};
};
};
&usb2 {

View file

@ -97,10 +97,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&usb2 {
vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
};

View file

@ -8,4 +8,5 @@
&uart0 {
clock-frequency = <125000000>;
status = "okay";
};

View file

@ -21,7 +21,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
nand: nand@18028000 {
@ -105,10 +106,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&usb3 {
vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
};

View file

@ -18,7 +18,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
leds {
@ -31,13 +32,13 @@ power {
};
lan3 {
label = "bcm53xx:green:lan1";
label = "bcm53xx:green:lan3";
gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off";
};
lan4 {
label = "bcm53xx:green:lan0";
label = "bcm53xx:green:lan4";
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off";
};
@ -49,7 +50,7 @@ wan {
};
lan1 {
label = "bcm53xx:green:lan3";
label = "bcm53xx:green:lan1";
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off";
};
@ -98,10 +99,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&usb3 {
vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
};

View file

@ -18,7 +18,8 @@ chosen {
};
memory {
reg = <0x00000000 0x08000000>;
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
};
leds {
@ -97,7 +98,3 @@ rfkill {
};
};
};
&uart0 {
status = "okay";
};

View file

@ -14,4 +14,5 @@ usb3_phy: usb3-phy {
&uart0 {
clock-frequency = <125000000>;
status = "okay";
};

View file

@ -243,13 +243,39 @@ chipcommon: chipcommon@0 {
#gpio-cells = <2>;
};
pcie0: pcie@12000 {
reg = <0x00012000 0x1000>;
};
pcie1: pcie@13000 {
reg = <0x00013000 0x1000>;
};
usb2: usb2@21000 {
reg = <0x00021000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
phys = <&usb2_phy>;
interrupt-parent = <&gic>;
ehci: ehci@21000 {
#usb-cells = <0>;
compatible = "generic-ehci";
reg = <0x00021000 0x1000>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
phys = <&usb2_phy>;
};
ohci: ohci@22000 {
#usb-cells = <0>;
compatible = "generic-ohci";
reg = <0x00022000 0x1000>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
};
};
usb3: usb3@23000 {
@ -257,6 +283,19 @@ usb3: usb3@23000 {
#address-cells = <1>;
#size-cells = <1>;
ranges;
interrupt-parent = <&gic>;
xhci: xhci@23000 {
#usb-cells = <0>;
compatible = "generic-xhci";
reg = <0x00023000 0x1000>;
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
phys = <&usb3_phy>;
phy-names = "usb";
};
};
spi@29000 {

View file

@ -124,6 +124,17 @@ ehci: ehci@4000 {
reg = <0x4000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
ehci_port1: port@1 {
reg = <1>;
};
ehci_port2: port@2 {
reg = <2>;
};
};
ohci: ohci@d000 {
@ -133,6 +144,17 @@ ohci: ohci@d000 {
reg = <0xd000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
ohci_port1: port@1 {
reg = <1>;
};
ohci_port2: port@2 {
reg = <2>;
};
};
};

View file

@ -50,7 +50,3 @@ memory {
reg = <0x00000000 0x08000000>;
};
};
&uart0 {
status = "okay";
};

View file

@ -50,7 +50,3 @@ memory {
reg = <0x00000000 0x08000000>;
};
};
&uart0 {
status = "okay";
};

View file

@ -70,10 +70,6 @@ restart {
};
};
&uart0 {
status = "okay";
};
&spi_nor {
status = "okay";
};

View file

@ -54,7 +54,6 @@ memory {
&uart0 {
clock-frequency = <62499840>;
status = "okay";
};
&uart1 {

View file

@ -65,7 +65,6 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
@ -125,6 +124,40 @@ nand_sel: nand_sel {
};
};
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&uart0 {
status = "okay";
};

View file

@ -65,7 +65,6 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
@ -125,6 +124,40 @@ nand_sel: nand_sel {
};
};
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&sata_phy0 {
status = "okay";
};

View file

@ -59,6 +59,12 @@ gpio-restart {
};
};
/* XHCI support needed to be complete */
&amac0 {
status = "okay";
};
&i2c0 {
temperature-sensor@4c {
compatible = "adi,adt7461a";
@ -115,12 +121,6 @@ partition@4000000 {
};
};
/* XHCI, MMC, and Ethernet support needed to be complete */
&uart0 {
status = "okay";
};
&pcie0 {
status = "okay";
};
@ -129,6 +129,49 @@ &pcie1 {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&nand_sel>;
nand_sel: nand_sel {
function = "nand";
groups = "nand_grp";
};
};
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&sata_phy0 {
status = "okay";
};
@ -141,11 +184,10 @@ &sata {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&nand_sel>;
nand_sel: nand_sel {
function = "nand";
groups = "nand_grp";
};
&sdio {
status = "ok";
};
&uart0 {
status = "okay";
};

View file

@ -65,6 +65,14 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand {
nandcs@0 {
compatible = "brcm,nandcs";
@ -120,6 +128,40 @@ nand_sel: nand_sel {
};
};
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&srab {
compatible = "brcm,bcm58622-srab", "brcm,nsp-srab";
status = "okay";

View file

@ -65,6 +65,14 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand {
nandcs@0 {
compatible = "brcm,nandcs";
@ -120,6 +128,48 @@ nand_sel: nand_sel {
};
};
&sata_phy0 {
status = "okay";
};
&sata {
status = "okay";
};
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&srab {
compatible = "brcm,bcm58623-srab", "brcm,nsp-srab";
status = "okay";
@ -165,14 +215,6 @@ fixed-link {
};
};
&sata_phy0 {
status = "okay";
};
&sata {
status = "okay";
};
&uart0 {
status = "okay";
};

View file

@ -1,7 +1,7 @@
/*
* BSD LICENSE
*
* Copyright (c) 2016 Broadcom. All rights reserved.
* Copyright(c) 2016 Broadcom. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -59,6 +59,18 @@ gpio-restart {
};
};
&amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand {
nandcs@0 {
compatible = "brcm,nandcs";
@ -97,10 +109,6 @@ partition@4000000 {
};
};
&uart0 {
status = "okay";
};
&pcie0 {
status = "okay";
};
@ -118,7 +126,49 @@ nand_sel: nand_sel {
};
};
&amac0 {
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay";
};
@ -167,14 +217,6 @@ fixed-link {
};
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
&uart0 {
status = "okay";
};

View file

@ -53,14 +53,6 @@ memory {
};
};
&uart0 {
status = "okay";
};
&uart1 {
status = "okay";
};
&amac0 {
status = "okay";
};
@ -69,27 +61,7 @@ &amac1 {
status = "okay";
};
&pcie0 {
status = "okay";
};
&pcie1 {
status = "okay";
};
&pcie2 {
status = "okay";
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
&amac2 {
status = "okay";
};
@ -112,32 +84,65 @@ partition@0 {
reg = <0x00000000 0x00200000>;
read-only;
};
partition@1 {
partition@200000 {
label = "nenv";
reg = <0x00200000 0x00400000>;
};
partition@2 {
partition@600000 {
label = "nsystem";
reg = <0x00600000 0x00a00000>;
};
partition@3 {
partition@1000000 {
label = "nrootfs";
reg = <0x01000000 0x03000000>;
};
partition@4 {
partition@4000000 {
label = "ncustfs";
reg = <0x04000000 0x3c000000>;
};
};
};
&pcie0 {
status = "okay";
};
&pcie1 {
status = "okay";
};
&pcie2 {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&nand_sel>;
pinctrl-0 = <&nand_sel>, <&gpiobs>, <&pwmc>;
nand_sel: nand_sel {
function = "nand";
groups = "nand_grp";
};
gpiobs: gpiobs {
function = "gpio_b";
groups = "gpio_b_0_grp", "gpio_b_1_grp", "gpio_b_2_grp",
"gpio_b_3_grp";
};
pwmc: pwmc {
function = "pwm";
groups = "pwm0_grp", "pwm1_grp", "pwm2_grp", "pwm3_grp";
};
emmc_sel: emmc_sel {
function = "emmc";
groups = "emmc_grp";
};
};
&pwm {
status = "okay";
};
&qspi {
@ -173,3 +178,81 @@ partition@700000 {
};
};
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay";
};
/*
* By default the sd slot is functional. For emmc to work add "<&emmc_sel>"
* and delete "<&nand_sel>" in "pinctrl-0" property of pinctrl node. Remove the
* bus-width property here and disable the nand node with status = "disabled";.
*
* Ex: pinctrl-0 = <&emmc_sel>, <&gpiobs>, <&pwmc>;
*/
&sdio {
bus-width = <4>;
no-1-8-v;
status = "ok";
};
&srab {
compatible = "brcm,bcm58625-srab", "brcm,nsp-srab";
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
label = "port0";
reg = <0>;
};
port@1 {
label = "port1";
reg = <1>;
};
port@2 {
label = "port2";
reg = <2>;
};
port@3 {
label = "port3";
reg = <3>;
};
port@4 {
label = "port4";
reg = <4>;
};
port@5 {
ethernet = <&amac0>;
label = "cpu";
reg = <5>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
};
&uart0 {
status = "okay";
};
&uart1 {
status = "okay";
};

View file

@ -65,6 +65,14 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand {
nandcs@0 {
compatible = "brcm,nandcs";
@ -120,6 +128,40 @@ nand_sel: nand_sel {
};
};
&qspi {
bspi-sel = <0>;
flash: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "m25p80";
reg = <0x0>;
spi-max-frequency = <12500000>;
m25p,fast-read;
spi-cpol;
spi-cpha;
partition@0 {
label = "boot";
reg = <0x00000000 0x000a0000>;
};
partition@a0000 {
label = "env";
reg = <0x000a0000 0x00060000>;
};
partition@100000 {
label = "system";
reg = <0x00100000 0x00600000>;
};
partition@700000 {
label = "rootfs";
reg = <0x00700000 0x01900000>;
};
};
};
&sata_phy0 {
status = "okay";
};