Commit 1fd2bb6c authored by Jon Mason's avatar Jon Mason Committed by Florian Fainelli

ARM: dts: NSP: DT Clean-ups

The QSPI entry was added out of the sequental order that the rest of the
DTSI file is in.  Move it to make it fit in properly.  Also, some other
entries have been added in a non-alphabetical order in the DTS files,
making them different from the other NSP DTS files.  Move the relevant
peices to make it match.  Finally, remove errant new lines.
Signed-off-by: default avatarJon Mason <jon.mason@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent a503cf0c
......@@ -241,29 +241,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 +270,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>;
......
......@@ -65,7 +65,6 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
......
......@@ -65,7 +65,6 @@ &amac0 {
status = "okay";
};
&amac1 {
status = "okay";
};
......
......@@ -59,6 +59,8 @@ gpio-restart {
};
};
/* XHCI, MMC, and Ethernet support needed to be complete */
&i2c0 {
temperature-sensor@4c {
compatible = "adi,adt7461a";
......@@ -115,12 +117,6 @@ partition@4000000 {
};
};
/* XHCI, MMC, and Ethernet support needed to be complete */
&uart0 {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -129,6 +125,15 @@ &pcie1 {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&nand_sel>;
nand_sel: nand_sel {
function = "nand";
groups = "nand_grp";
};
};
&sata_phy0 {
status = "okay";
};
......@@ -141,11 +146,6 @@ &sata {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&nand_sel>;
nand_sel: nand_sel {
function = "nand";
groups = "nand_grp";
};
&uart0 {
status = "okay";
};
......@@ -120,6 +120,14 @@ nand_sel: nand_sel {
};
};
&sata_phy0 {
status = "okay";
};
&sata {
status = "okay";
};
&srab {
compatible = "brcm,bcm58623-srab", "brcm,nsp-srab";
status = "okay";
......@@ -165,14 +173,6 @@ fixed-link {
};
};
&sata_phy0 {
status = "okay";
};
&sata {
status = "okay";
};
&uart0 {
status = "okay";
};
/*
* 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,10 @@ gpio-restart {
};
};
&amac0 {
status = "okay";
};
&nand {
nandcs@0 {
compatible = "brcm,nandcs";
......@@ -97,10 +101,6 @@ partition@4000000 {
};
};
&uart0 {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -118,7 +118,15 @@ nand_sel: nand_sel {
};
};
&amac0 {
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay";
};
......@@ -167,14 +175,6 @@ fixed-link {
};
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
&uart0 {
status = "okay";
};
......@@ -53,14 +53,6 @@ memory {
};
};
&uart0 {
status = "okay";
};
&uart1 {
status = "okay";
};
&amac0 {
status = "okay";
};
......@@ -69,30 +61,6 @@ &amac1 {
status = "okay";
};
&pcie0 {
status = "okay";
};
&pcie1 {
status = "okay";
};
&pcie2 {
status = "okay";
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay";
};
&nand {
nandcs@0 {
compatible = "brcm,nandcs";
......@@ -131,6 +99,18 @@ partition@4 {
};
};
&pcie0 {
status = "okay";
};
&pcie1 {
status = "okay";
};
&pcie2 {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&nand_sel>;
......@@ -173,3 +153,23 @@ partition@700000 {
};
};
};
&sata_phy0 {
status = "okay";
};
&sata_phy1 {
status = "okay";
};
&sata {
status = "okay";
};
&uart0 {
status = "okay";
};
&uart1 {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment