[openwrt/openwrt] mvebu: disable DSA DT nodes for boards using mvsw61xx

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 9 16:17:10 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/7b33f6c1bba7c74a864b7e6f58fa9361a4881cc3

commit 7b33f6c1bba7c74a864b7e6f58fa9361a4881cc3
Author: Ryan Mounce <ryan at mounce.com.au>
AuthorDate: Tue Feb 20 00:31:34 2018 +1030

    mvebu: disable DSA DT nodes for boards using mvsw61xx
    
    As at this commit, DSA is not enabled in the kernel config for mvebu, so these
    nodes have been ignored. In preparation for the first mvebu board using DSA,
    disable these nodes for existing boards to avoid issues.
    
    Signed-off-by: Ryan Mounce <ryan at mounce.com.au>
---
 .../220-disable-untested-dsa-boards.patch          | 30 ++++++++++++++++++++++
 ...dts-armada388-clearfog-document-MPP-usage.patch |  2 +-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/target/linux/mvebu/patches-4.14/220-disable-untested-dsa-boards.patch b/target/linux/mvebu/patches-4.14/220-disable-untested-dsa-boards.patch
new file mode 100644
index 0000000..8f2275b
--- /dev/null
+++ b/target/linux/mvebu/patches-4.14/220-disable-untested-dsa-boards.patch
@@ -0,0 +1,30 @@
+--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
++++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
+@@ -194,6 +194,7 @@
+ 	status = "okay";
+ 
+ 	switch at 0 {
++		status = "disabled";
+ 		compatible = "marvell,mv88e6085";
+ 		#address-cells = <1>;
+ 		#size-cells = <0>;
+--- a/arch/arm/boot/dts/armada-388-clearfog.dts
++++ b/arch/arm/boot/dts/armada-388-clearfog.dts
+@@ -202,6 +202,7 @@
+ 	status = "okay";
+ 
+ 	switch at 4 {
++		status = "disabled";
+ 		compatible = "marvell,mv88e6085";
+ 		#address-cells = <1>;
+ 		#size-cells = <0>;
+--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
++++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+@@ -516,6 +516,7 @@
+ 	status = "okay";
+ 
+ 	switch at 0 {
++		status = "disabled";
+ 		compatible = "marvell,mv88e6085";
+ 		#address-cells = <1>;
+ 		#size-cells = <0>;
diff --git a/target/linux/mvebu/patches-4.14/415-ARM-dts-armada388-clearfog-document-MPP-usage.patch b/target/linux/mvebu/patches-4.14/415-ARM-dts-armada388-clearfog-document-MPP-usage.patch
index 481ee62..0e24d08 100644
--- a/target/linux/mvebu/patches-4.14/415-ARM-dts-armada388-clearfog-document-MPP-usage.patch
+++ b/target/linux/mvebu/patches-4.14/415-ARM-dts-armada388-clearfog-document-MPP-usage.patch
@@ -68,7 +68,7 @@ Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
 +*/
 --- a/arch/arm/boot/dts/armada-388-clearfog.dts
 +++ b/arch/arm/boot/dts/armada-388-clearfog.dts
-@@ -289,3 +289,53 @@
+@@ -290,3 +290,53 @@
  	 */
  	pinctrl-0 = <&spi1_pins &clearfog_spi1_cs_pins &mikro_spi_pins>;
  };



More information about the lede-commits mailing list