提交 828a34b9 编写于 作者: O Olof Johansson

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: NOlof Johansson <olof@lixom.net>
...@@ -85,6 +85,8 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \ ...@@ -85,6 +85,8 @@ dtb-$(CONFIG_ARCH_BCM_5301X) += \
bcm47081-asus-rt-n18u.dtb \ bcm47081-asus-rt-n18u.dtb \
bcm47081-buffalo-wzr-600dhp2.dtb \ bcm47081-buffalo-wzr-600dhp2.dtb \
bcm47081-buffalo-wzr-900dhp.dtb \ bcm47081-buffalo-wzr-900dhp.dtb \
bcm47081-luxul-xap-1410.dtb \
bcm47081-luxul-xwr-1200.dtb \
bcm4709-asus-rt-ac87u.dtb \ bcm4709-asus-rt-ac87u.dtb \
bcm4709-buffalo-wxr-1900dhp.dtb \ bcm4709-buffalo-wxr-1900dhp.dtb \
bcm4709-netgear-r7000.dtb \ bcm4709-netgear-r7000.dtb \
......
...@@ -209,6 +209,15 @@ ...@@ -209,6 +209,15 @@
#dma-cells = <1>; #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 { amac0: ethernet@22000 {
compatible = "brcm,nsp-amac"; compatible = "brcm,nsp-amac";
reg = <0x022000 0x1000>, reg = <0x022000 0x1000>,
...@@ -227,6 +236,15 @@ ...@@ -227,6 +236,15 @@
status = "disabled"; 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 { nand: nand@26000 {
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
reg = <0x026000 0x600>, reg = <0x026000 0x600>,
...@@ -241,29 +259,6 @@ ...@@ -241,29 +259,6 @@
brcm,nand-has-wp; 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 { qspi: qspi@27200 {
compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi"; compatible = "brcm,spi-bcm-qspi", "brcm,spi-nsp-qspi";
reg = <0x027200 0x184>, reg = <0x027200 0x184>,
...@@ -293,6 +288,29 @@ ...@@ -293,6 +288,29 @@
#size-cells = <0>; #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 { ccbtimer0: timer@34000 {
compatible = "arm,sp804"; compatible = "arm,sp804";
reg = <0x34000 0x1000>; reg = <0x34000 0x1000>;
......
...@@ -87,3 +87,8 @@ ...@@ -87,3 +87,8 @@
power-domains = <&power RPI_POWER_DOMAIN_HDMI>; power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
status = "okay"; status = "okay";
}; };
&vec {
power-domains = <&power RPI_POWER_DOMAIN_VEC>;
status = "okay";
};
...@@ -476,6 +476,14 @@ ...@@ -476,6 +476,14 @@
status = "disabled"; status = "disabled";
}; };
vec: vec@7e806000 {
compatible = "brcm,bcm2835-vec";
reg = <0x7e806000 0x1000>;
clocks = <&clocks BCM2835_CLOCK_VEC>;
interrupts = <2 27>;
status = "disabled";
};
pixelvalve@7e807000 { pixelvalve@7e807000 {
compatible = "brcm,bcm2835-pixelvalve2"; compatible = "brcm,bcm2835-pixelvalve2";
reg = <0x7e807000 0x100>; reg = <0x7e807000 0x100>;
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
}; };
spi { spi {
...@@ -136,10 +137,6 @@ ...@@ -136,10 +137,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&usb2 { &usb2 {
vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -55,10 +55,6 @@ ...@@ -55,10 +55,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&spi_nor { &spi_nor {
status = "okay"; status = "okay";
}; };
...@@ -56,10 +56,6 @@ ...@@ -56,10 +56,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&spi_nor { &spi_nor {
status = "okay"; status = "okay";
}; };
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
...@@ -83,10 +84,6 @@ ...@@ -83,10 +84,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&usb3 { &usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
...@@ -119,10 +120,6 @@ ...@@ -119,10 +120,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&spi_nor { &spi_nor {
status = "okay"; status = "okay";
}; };
......
...@@ -34,3 +34,7 @@ ...@@ -34,3 +34,7 @@
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
spi { spi {
...@@ -122,7 +123,3 @@ ...@@ -122,7 +123,3 @@
}; };
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
gpio-keys { gpio-keys {
......
/*
* 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";
};
/*
* 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";
};
...@@ -24,3 +24,7 @@ ...@@ -24,3 +24,7 @@
}; };
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
}; };
leds { leds {
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
...@@ -101,6 +102,10 @@ ...@@ -101,6 +102,10 @@
}; };
}; };
&uart0 { &usb2 {
status = "okay"; vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
&usb3 {
vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
}; };
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
...@@ -107,8 +108,52 @@ ...@@ -107,8 +108,52 @@
}; };
}; };
&uart0 { &pcie0 {
status = "okay"; #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 { &usb2 {
......
...@@ -97,10 +97,6 @@ ...@@ -97,10 +97,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&usb2 { &usb2 {
vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>; vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -8,4 +8,5 @@ ...@@ -8,4 +8,5 @@
&uart0 { &uart0 {
clock-frequency = <125000000>; clock-frequency = <125000000>;
status = "okay";
}; };
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
nand: nand@18028000 { nand: nand@18028000 {
...@@ -105,10 +106,6 @@ ...@@ -105,10 +106,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&usb3 { &usb3 {
vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
}; };
leds { leds {
...@@ -31,13 +32,13 @@ ...@@ -31,13 +32,13 @@
}; };
lan3 { lan3 {
label = "bcm53xx:green:lan1"; label = "bcm53xx:green:lan3";
gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off"; linux,default-trigger = "default-off";
}; };
lan4 { lan4 {
label = "bcm53xx:green:lan0"; label = "bcm53xx:green:lan4";
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off"; linux,default-trigger = "default-off";
}; };
...@@ -49,7 +50,7 @@ ...@@ -49,7 +50,7 @@
}; };
lan1 { lan1 {
label = "bcm53xx:green:lan3"; label = "bcm53xx:green:lan1";
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off"; linux,default-trigger = "default-off";
}; };
...@@ -98,10 +99,6 @@ ...@@ -98,10 +99,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&usb3 { &usb3 {
vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
}; };
memory { memory {
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
}; };
leds { leds {
...@@ -97,7 +98,3 @@ ...@@ -97,7 +98,3 @@
}; };
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -14,4 +14,5 @@ ...@@ -14,4 +14,5 @@
&uart0 { &uart0 {
clock-frequency = <125000000>; clock-frequency = <125000000>;
status = "okay";
}; };
...@@ -243,20 +243,59 @@ ...@@ -243,20 +243,59 @@
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
pcie0: pcie@12000 {
reg = <0x00012000 0x1000>;
};
pcie1: pcie@13000 {
reg = <0x00013000 0x1000>;
};
usb2: usb2@21000 { usb2: usb2@21000 {
reg = <0x00021000 0x1000>; reg = <0x00021000 0x1000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges;
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>; 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 { usb3: usb3@23000 {
reg = <0x00023000 0x1000>; reg = <0x00023000 0x1000>;
#address-cells = <1>; #address-cells = <1>;
#size-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 { spi@29000 {
......
...@@ -124,6 +124,17 @@ ...@@ -124,6 +124,17 @@
reg = <0x4000 0x1000>; reg = <0x4000 0x1000>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 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 { ohci: ohci@d000 {
...@@ -133,6 +144,17 @@ ...@@ -133,6 +144,17 @@
reg = <0xd000 0x1000>; reg = <0xd000 0x1000>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 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>;
};
}; };
}; };
......
...@@ -50,7 +50,3 @@ ...@@ -50,7 +50,3 @@
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -50,7 +50,3 @@ ...@@ -50,7 +50,3 @@
reg = <0x00000000 0x08000000>; reg = <0x00000000 0x08000000>;
}; };
}; };
&uart0 {
status = "okay";
};
...@@ -70,10 +70,6 @@ ...@@ -70,10 +70,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&spi_nor { &spi_nor {
status = "okay"; status = "okay";
}; };
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
&uart0 { &uart0 {
clock-frequency = <62499840>; clock-frequency = <62499840>;
status = "okay";
}; };
&uart1 { &uart1 {
......
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
status = "okay"; status = "okay";
}; };
&amac1 { &amac1 {
status = "okay"; status = "okay";
}; };
...@@ -125,6 +124,40 @@ ...@@ -125,6 +124,40 @@
}; };
}; };
&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 { &uart0 {
status = "okay"; status = "okay";
}; };
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
status = "okay"; status = "okay";
}; };
&amac1 { &amac1 {
status = "okay"; status = "okay";
}; };
...@@ -125,6 +124,40 @@ ...@@ -125,6 +124,40 @@
}; };
}; };
&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 { &sata_phy0 {
status = "okay"; status = "okay";
}; };
......
...@@ -59,6 +59,12 @@ ...@@ -59,6 +59,12 @@
}; };
}; };
/* XHCI support needed to be complete */
&amac0 {
status = "okay";
};
&i2c0 { &i2c0 {
temperature-sensor@4c { temperature-sensor@4c {
compatible = "adi,adt7461a"; compatible = "adi,adt7461a";
...@@ -115,12 +121,6 @@ ...@@ -115,12 +121,6 @@
}; };
}; };
/* XHCI, MMC, and Ethernet support needed to be complete */
&uart0 {
status = "okay";
};
&pcie0 { &pcie0 {
status = "okay"; status = "okay";
}; };
...@@ -129,6 +129,49 @@ ...@@ -129,6 +129,49 @@
status = "okay"; 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 { &sata_phy0 {
status = "okay"; status = "okay";
}; };
...@@ -141,11 +184,10 @@ ...@@ -141,11 +184,10 @@
status = "okay"; status = "okay";
}; };
&pinctrl { &sdio {
pinctrl-names = "default"; status = "ok";
pinctrl-0 = <&nand_sel>; };
nand_sel: nand_sel {
function = "nand"; &uart0 {
groups = "nand_grp"; status = "okay";
};
}; };
...@@ -65,6 +65,14 @@ ...@@ -65,6 +65,14 @@
status = "okay"; status = "okay";
}; };
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand { &nand {
nandcs@0 { nandcs@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
...@@ -120,6 +128,40 @@ ...@@ -120,6 +128,40 @@
}; };
}; };
&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 { &srab {
compatible = "brcm,bcm58622-srab", "brcm,nsp-srab"; compatible = "brcm,bcm58622-srab", "brcm,nsp-srab";
status = "okay"; status = "okay";
......
...@@ -65,6 +65,14 @@ ...@@ -65,6 +65,14 @@
status = "okay"; status = "okay";
}; };
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand { &nand {
nandcs@0 { nandcs@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
...@@ -120,6 +128,48 @@ ...@@ -120,6 +128,48 @@
}; };
}; };
&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 { &srab {
compatible = "brcm,bcm58623-srab", "brcm,nsp-srab"; compatible = "brcm,bcm58623-srab", "brcm,nsp-srab";
status = "okay"; status = "okay";
...@@ -165,14 +215,6 @@ ...@@ -165,14 +215,6 @@
}; };
}; };
&sata_phy0 {
status = "okay";
};
&sata {
status = "okay";
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
/* /*
* BSD LICENSE * 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 * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
...@@ -59,6 +59,18 @@ ...@@ -59,6 +59,18 @@
}; };
}; };
&amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand { &nand {
nandcs@0 { nandcs@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
...@@ -97,10 +109,6 @@ ...@@ -97,10 +109,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&pcie0 { &pcie0 {
status = "okay"; status = "okay";
}; };
...@@ -118,7 +126,49 @@ ...@@ -118,7 +126,49 @@
}; };
}; };
&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"; status = "okay";
}; };
...@@ -167,14 +217,6 @@ ...@@ -167,14 +217,6 @@
}; };
}; };
&sata_phy0 { &uart0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay"; status = "okay";
}; };
...@@ -53,14 +53,6 @@ ...@@ -53,14 +53,6 @@
}; };
}; };
&uart0 {
status = "okay";
};
&uart1 {
status = "okay";
};
&amac0 { &amac0 {
status = "okay"; status = "okay";
}; };
...@@ -69,27 +61,7 @@ ...@@ -69,27 +61,7 @@
status = "okay"; status = "okay";
}; };
&pcie0 { &amac2 {
status = "okay";
};
&pcie1 {
status = "okay";
};
&pcie2 {
status = "okay";
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay"; status = "okay";
}; };
...@@ -112,32 +84,65 @@ ...@@ -112,32 +84,65 @@
reg = <0x00000000 0x00200000>; reg = <0x00000000 0x00200000>;
read-only; read-only;
}; };
partition@1 { partition@200000 {
label = "nenv"; label = "nenv";
reg = <0x00200000 0x00400000>; reg = <0x00200000 0x00400000>;
}; };
partition@2 { partition@600000 {
label = "nsystem"; label = "nsystem";
reg = <0x00600000 0x00a00000>; reg = <0x00600000 0x00a00000>;
}; };
partition@3 { partition@1000000 {
label = "nrootfs"; label = "nrootfs";
reg = <0x01000000 0x03000000>; reg = <0x01000000 0x03000000>;
}; };
partition@4 { partition@4000000 {
label = "ncustfs"; label = "ncustfs";
reg = <0x04000000 0x3c000000>; reg = <0x04000000 0x3c000000>;
}; };
}; };
}; };
&pcie0 {
status = "okay";
};
&pcie1 {
status = "okay";
};
&pcie2 {
status = "okay";
};
&pinctrl { &pinctrl {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&nand_sel>; pinctrl-0 = <&nand_sel>, <&gpiobs>, <&pwmc>;
nand_sel: nand_sel { nand_sel: nand_sel {
function = "nand"; function = "nand";
groups = "nand_grp"; 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 { &qspi {
...@@ -173,3 +178,81 @@ ...@@ -173,3 +178,81 @@
}; };
}; };
}; };
&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";
};
...@@ -65,6 +65,14 @@ ...@@ -65,6 +65,14 @@
status = "okay"; status = "okay";
}; };
&amac1 {
status = "okay";
};
&amac2 {
status = "okay";
};
&nand { &nand {
nandcs@0 { nandcs@0 {
compatible = "brcm,nandcs"; compatible = "brcm,nandcs";
...@@ -120,6 +128,40 @@ ...@@ -120,6 +128,40 @@
}; };
}; };
&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 { &sata_phy0 {
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册