ARM: dts: NSP: define SATA, Reboot, RAM and new device tree files
Subsystems (3)
cover ARM: dts: NSP: define SATA, Reboot, RAM and new device tree files
This patch series adds SATA and RAM for the existing HR and XMC device tree files (as they were missed when those peices were originally added). It also adds GPIO rebooting to the platforms that support that feature. Finally, add device tree files for all known NSP based reference boards.
The only outstanding HW that isn't fully supported on all NSP boards is USB and sound. So, we're getting close :)
NOTE: SATA is not in the NSP DTSI in Florian's git tree, but it is currently in Linus' (due to it going through another maintainer). So, it won't build until the merge with Linus' tree is done. I thought it better to do it this way instead of splitting it off and sending it as a follow-on in a couple of weeks. Let me know if it is preferred I do it that way.
Thanks,
Jon
Jon Mason (11):
ARM: dts: NSP: Enable SATA on bcm958625hr
ARM: dts: NSP: Enable SATA and add i2c devices on XMC
ARM: dts: NSP: Specify RAM amount for BCM958625K board
ARM: dts: NSP: Specify RAM amount for BCM958525XMC board
ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file
ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file
ARM: dts: NSP: Add new DT file for bcm958525er
ARM: dts: NSP: Add new DT file for bcm958522er
ARM: dts: NSP: Add new DT file for bcm988312hr
ARM: dts: NSP: Add new DT file for bcm958623hr
ARM: dts: NSP: Add new DT file for bcm958622hr
arch/arm/boot/dts/Makefile | 5 + arch/arm/boot/dts/bcm958522er.dts | 130 ++++++++++++++++++++++++++ arch/arm/boot/dts/bcm958525er.dts | 142 +++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm958525xmc.dts | 44 ++++++++- arch/arm/boot/dts/bcm958622hr.dts | 170 ++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm958623hr.dts | 178 ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/bcm958625hr.dts | 19 ++++ arch/arm/boot/dts/bcm958625k.dts | 5 + arch/arm/boot/dts/bcm988312hr.dts | 182 +++++++++++++++++++++++++++++++++++++ 9 files changed, 874 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm958522er.dts create mode 100644 arch/arm/boot/dts/bcm958525er.dts create mode 100644 arch/arm/boot/dts/bcm958622hr.dts create mode 100644 arch/arm/boot/dts/bcm958623hr.dts create mode 100644 arch/arm/boot/dts/bcm988312hr.dts
Signature · 1 line
2.7.4
PATCH 1/11 ARM: dts: NSP: Enable SATA on bcm958625hr
Add SATA support to bcm958625hr DTS
--- arch/arm/boot/dts/bcm958625hr.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/bcm958625hr.dts +12 -0
@@ -158,3 +158,15 @@ }; }; }; + +&sata_phy0 { + status = "okay"; +}; + +&sata_phy1 { + status = "okay"; +}; + +&sata { + status = "okay"; +};
Signature · 1 line
2.7.4
PATCH 2/11 ARM: dts: NSP: Enable SATA and add i2c devices on XMC
In reply to Jon MasonEnable SATA on bcm958625xmc and add the i2c devices present.
--- arch/arm/boot/dts/bcm958525xmc.dts | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-)
arch/arm/boot/dts/bcm958525xmc.dts +31 -1
@@ -47,6 +47,24 @@ }; }; +&i2c0 { + temperature-sensor at 4c { + compatible = "adi,adt7461a"; + reg = <0x4c>; + }; + + eeprom at 52 { + compatible = "atmel,24c02"; + reg = <0x52>; + pagesize = <16>; + }; + + rtc at 68 { + compatible = "st,m41t81"; + reg = <0x68>; + }; +}; + &nand { nandcs at 0 { compatible = "brcm,nandcs";
@@ -85,7 +103,7 @@ }; }; -/* XHCI, SATA, MMC, and Ethernet support needed to be complete */ +/* XHCI, MMC, and Ethernet support needed to be complete */ &uart0 { status = "okay";
@@ -99,6 +117,18 @@ status = "okay"; }; +&sata_phy0 { + status = "okay"; +}; + +&sata_phy1 { + status = "okay"; +}; + +&sata { + status = "okay"; +}; + &pinctrl { pinctrl-names = "default"; pinctrl-0 = <&nand_sel>;
Signature · 1 line
2.7.4
PATCH 3/11 ARM: dts: NSP: Specify RAM amount for BCM958625K board
In reply to Jon MasonAdd 2GB of memory starting at physical offset 0x6000_0000.
--- arch/arm/boot/dts/bcm958625k.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/bcm958625k.dts +5 -0
@@ -46,6 +46,11 @@ chosen { stdout-path = "serial0:115200n8"; }; + + memory { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; }; &uart0 {
Signature · 1 line
2.7.4
PATCH 4/11 ARM: dts: NSP: Specify RAM amount for BCM958525XMC board
In reply to Jon MasonAdd 1GB of memory starting at physical offset 0x6000_0000.
--- arch/arm/boot/dts/bcm958525xmc.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/bcm958525xmc.dts +5 -0
@@ -45,6 +45,11 @@ chosen { stdout-path = "serial0:115200n8"; }; + + memory { + device_type = "memory"; + reg = <0x60000000 0x40000000>; + }; }; &i2c0 {
Signature · 1 line
2.7.4
PATCH 5/11 ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file
In reply to Jon MasonAdd the ability to reboot the bcm958625hr board via GPIO. Unfortunately, not all of the NSP based boards use the same GPIO pin and one doesn't have the ability to reboot via GPIO at all. So, this will need to be specified per DTS file.
--- arch/arm/boot/dts/bcm958625hr.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/bcm958625hr.dts +7 -0
@@ -33,6 +33,7 @@ /dts-v1/; #include "bcm-nsp.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "NorthStar Plus SVK (BCM958625HR)";
@@ -49,6 +50,12 @@ memory { reg = <0x60000000 0x20000000>; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; &nand {
Signature · 1 line
2.7.4
PATCH 6/11 ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file
In reply to Jon MasonAdd the ability to reboot the bcm958625xmc board via GPIO. Unfortunately, not all of the NSP based boards use the same GPIO pin and one doesn't have the ability to reboot via GPIO at all. So, this will need to be specified per DTS file.
--- arch/arm/boot/dts/bcm958525xmc.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/bcm958525xmc.dts +7 -0
@@ -33,6 +33,7 @@ /dts-v1/; #include "bcm-nsp.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "NorthStar Plus XMC (BCM958525xmc)";
@@ -50,6 +51,12 @@ device_type = "memory"; reg = <0x60000000 0x40000000>; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpioa 31 GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; &i2c0 {
Signature · 1 line
2.7.4
PATCH 7/11 ARM: dts: NSP: Add new DT file for bcm958525er
In reply to Jon MasonCreate a new device tree file for the Broadcom Northstar Plus bcm958525er SVK. This SVK has 2GB RAM, 2 ports Ethernet, 2 eSATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm958525er.dts | 142 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 arch/arm/boot/dts/bcm958525er.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_BCM_MOBILE) += \ bcm21664-garnet.dtb \ bcm23550-sparrow.dtb dtb-$(CONFIG_ARCH_BCM_NSP) += \ + bcm958525er.dtb \ bcm958525xmc.dtb \ bcm958625hr.dtb \ bcm958625k.dtb
arch/arm/boot/dts/bcm958525er.dts new file +142 -0
142 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 8/11 ARM: dts: NSP: Add new DT file for bcm958522er
In reply to Jon MasonCreate a new device tree file for the Broadcom Northstar Plus bcm958522er SVK. This SVK has 2GB RAM, 2 ports Ethernet, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm958522er.dts | 130 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 arch/arm/boot/dts/bcm958522er.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -99,6 +99,7 @@ dtb-$(CONFIG_ARCH_BCM_MOBILE) += \ bcm21664-garnet.dtb \ bcm23550-sparrow.dtb dtb-$(CONFIG_ARCH_BCM_NSP) += \ + bcm958522er.dtb \ bcm958525er.dtb \ bcm958525xmc.dtb \ bcm958625hr.dtb \
arch/arm/boot/dts/bcm958522er.dts new file +130 -0
130 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 9/11 ARM: dts: NSP: Add new DT file for bcm988312hr
In reply to Jon MasonCreate a new device tree file for the Broadcom Northstar Plus bcm988312hr SVK. This SVK has 2GB RAM, 5 ports Ethernet, 2 eSATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future is support for the USB.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm988312hr.dts | 182 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 183 insertions(+) create mode 100644 arch/arm/boot/dts/bcm988312hr.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -103,6 +103,7 @@ dtb-$(CONFIG_ARCH_BCM_NSP) += \ bcm958525er.dtb \ bcm958525xmc.dtb \ bcm958625hr.dtb \ + bcm988312hr.dtb \ bcm958625k.dtb dtb-$(CONFIG_ARCH_BERLIN) += \ berlin2-sony-nsz-gs7.dtb \
arch/arm/boot/dts/bcm988312hr.dts new file +182 -0
182 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 10/11 ARM: dts: NSP: Add new DT file for bcm958623hr
In reply to Jon MasonCreate a new device tree file for the Broadcom Northstar Plus bcm958623hr SVK. This SVK has 2GB RAM, 5 ports Ethernet, SATA, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future are support for the USB and SLIC audio.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm958623hr.dts | 178 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 179 insertions(+) create mode 100644 arch/arm/boot/dts/bcm958623hr.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -102,6 +102,7 @@ dtb-$(CONFIG_ARCH_BCM_NSP) += \ bcm958522er.dtb \ bcm958525er.dtb \ bcm958525xmc.dtb \ + bcm958623hr.dtb \ bcm958625hr.dtb \ bcm988312hr.dtb \ bcm958625k.dtb
arch/arm/boot/dts/bcm958623hr.dts new file +178 -0
178 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 11/11 ARM: dts: NSP: Add new DT file for bcm958622hr
In reply to Jon MasonCreate a new device tree file for the Broadcom Northstar Plus bcm958622hr SVK. This SVK has 2GB RAM, 5 port Ethernet, 2 PCI slots, and 1 UART. Also, it has the ability to reboot via GPIO. To be added in the future are support for the USB and SLIC audio.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm958622hr.dts | 170 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 171 insertions(+) create mode 100644 arch/arm/boot/dts/bcm958622hr.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -102,6 +102,7 @@ dtb-$(CONFIG_ARCH_BCM_NSP) += \ bcm958522er.dtb \ bcm958525er.dtb \ bcm958525xmc.dtb \ + bcm958622hr.dtb \ bcm958623hr.dtb \ bcm958625hr.dtb \ bcm988312hr.dtb \
arch/arm/boot/dts/bcm958622hr.dts new file +170 -0
170 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 9 lines · Jon Mason
This patch series adds SATA and RAM for the existing HR and XMC device tree files (as they were missed when those peices were originally added). It also adds GPIO rebooting to the platforms that support that feature. Finally, add device tree files for all known NSP based reference boards.
The only outstanding HW that isn't fully supported on all NSP boards is USB and sound. So, we're getting close :)
Quoted 6 lines
NOTE: SATA is not in the NSP DTSI in Florian's git tree, but it is currently in Linus' (due to it going through another maintainer). So, it won't build until the merge with Linus' tree is done. I thought it better to do it this way instead of splitting it off and sending it as a follow-on in a couple of weeks. Let me know if it is preferred I do it that way.
Series applied, thanks Jon!
Signature · 1 line
Florian