Skip to contentSkip to conversation

MIPS: BMIPS: Add Broadcom STB device nodes

PATCH Applied Jaedon Shin 3 participants 6 messages Nov 17, 2017 – Mar 7, 2018 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover MIPS: BMIPS: Add Broadcom STB device nodes

This series adds power and memory management related devie tree nodes for Broadcom STB platforms.

Jaedon Shin (3):
MIPS: BMIPS: Add Broadcom STB power management nodes
MIPS: BMIPS: Add Broadcom STB wake-up timer nodes
MIPS: BMIPS: Add Broadcom STB watchdog nodes

 arch/mips/boot/dts/brcm/bcm7125.dtsi      |  7 +++
 arch/mips/boot/dts/brcm/bcm7346.dtsi      | 62 +++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7358.dtsi      | 17 ++++++
 arch/mips/boot/dts/brcm/bcm7360.dtsi      | 62 +++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7362.dtsi      | 62 +++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7420.dtsi      |  7 +++
 arch/mips/boot/dts/brcm/bcm7425.dtsi      | 89 +++++++++++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7435.dtsi      | 89 +++++++++++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm97125cbmb.dts  |  4 ++
 arch/mips/boot/dts/brcm/bcm97346dbsmb.dts |  8 +++
 arch/mips/boot/dts/brcm/bcm97358svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97360svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97362svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97420c.dts     |  4 ++
 arch/mips/boot/dts/brcm/bcm97425svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97435svmb.dts  |  8 +++
 16 files changed, 451 insertions(+)
Signature · 6 lines
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171117021944.894-1-jaedon.shin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 1/3 MIPS: BMIPS: Add Broadcom STB power management nodes

Adds power management nodes to BCM7xxx MIPS based SoCs.

---
 arch/mips/boot/dts/brcm/bcm7346.dtsi | 45 ++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7360.dtsi | 45 ++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7362.dtsi | 45 ++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7425.dtsi | 72 ++++++++++++++++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7435.dtsi | 72 ++++++++++++++++++++++++++++++++++++
 5 files changed, 279 insertions(+)
arch/mips/boot/dts/brcm/bcm7346.dtsi +45 -0
index 02e426fe6013..8aa5b72d652d 100644
@@ -243,6 +243,17 @@
 			brcm,irq-can-wake;
 		};
 
+		aon_ctrl: syscon@408000 {
+			compatible = "brcm,brcmstb-aon-ctrl";
+			reg = <0x408000 0x100>, <0x408200 0x200>;
+			reg-names = "aon-ctrl", "aon-sram";
+		};
+
+		timers: timer@4067c0 {
+			compatible = "brcm,brcmstb-timers";
+			reg = <0x4067c0 0x40>;
+		};
+
 		upg_gio: gpio@406700 {
 			compatible = "brcm,brcmstb-gpio";
 			reg = <0x406700 0x60>;
@@ -484,4 +495,38 @@
 			status = "disabled";
 		};
 	};
+
+	memory_controllers {
+		compatible = "simple-bus";
+		ranges = <0x0 0x103b0000 0xa000>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		memory-controller@0 {
+			compatible = "brcm,brcmstb-memc", "simple-bus";
+			ranges = <0x0 0x0 0xa000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			memc-arb@1000 {
+				compatible = "brcm,brcmstb-memc-arb";
+				reg = <0x1000 0x248>;
+			};
+
+			memc-ddr@2000 {
+				compatible = "brcm,brcmstb-memc-ddr";
+				reg = <0x2000 0x300>;
+			};
+
+			ddr-phy@6000 {
+				compatible = "brcm,brcmstb-ddr-phy";
+				reg = <0x6000 0xc8>;
+			};
+
+			shimphy@8000 {
+				compatible = "brcm,brcmstb-ddr-shimphy";
+				reg = <0x8000 0x13c>;
+			};
+		};
+	};
 };
arch/mips/boot/dts/brcm/bcm7360.dtsi +45 -0

55 lines not on this page · raw message

arch/mips/boot/dts/brcm/bcm7362.dtsi +45 -0

55 lines not on this page · raw message

arch/mips/boot/dts/brcm/bcm7425.dtsi +72 -0

82 lines not on this page · raw message

arch/mips/boot/dts/brcm/bcm7435.dtsi +72 -0

82 lines not on this page · raw message

Signature · 6 lines
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

PATCH 2/3 MIPS: BMIPS: Add Broadcom STB wake-up timer nodes

In reply to a message not in the archive

Adds wake-up timer device nodes to BCM7xxx MIPS based SoCs.

---
 arch/mips/boot/dts/brcm/bcm7346.dtsi      | 10 ++++++++++
 arch/mips/boot/dts/brcm/bcm7358.dtsi      | 10 ++++++++++
 arch/mips/boot/dts/brcm/bcm7360.dtsi      | 10 ++++++++++
 arch/mips/boot/dts/brcm/bcm7362.dtsi      | 10 ++++++++++
 arch/mips/boot/dts/brcm/bcm7425.dtsi      | 10 ++++++++++
 arch/mips/boot/dts/brcm/bcm7435.dtsi      | 10 ++++++++++
 arch/mips/boot/dts/brcm/bcm97346dbsmb.dts |  4 ++++
 arch/mips/boot/dts/brcm/bcm97358svmb.dts  |  4 ++++
 arch/mips/boot/dts/brcm/bcm97360svmb.dts  |  4 ++++
 arch/mips/boot/dts/brcm/bcm97362svmb.dts  |  4 ++++
 arch/mips/boot/dts/brcm/bcm97425svmb.dts  |  4 ++++
 arch/mips/boot/dts/brcm/bcm97435svmb.dts  |  4 ++++
 12 files changed, 84 insertions(+)
arch/mips/boot/dts/brcm/bcm7346.dtsi +10 -0
index 8aa5b72d652d..228184dedada 100644
@@ -494,6 +494,16 @@
 			interrupt-names = "mspi_done";
 			status = "disabled";
 		};
+
+		waketimer: waketimer@408e80 {
+			compatible = "brcm,brcmstb-waketimer";
+			reg = <0x408e80 0x14>;
+			interrupts = <0x3>;
+			interrupt-parent = <&aon_pm_l2_intc>;
+			interrupt-names = "timer";
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
 	};
 
 	memory_controllers {
arch/mips/boot/dts/brcm/bcm7358.dtsi +10 -0
index 1089d6ebc841..398521c7070f 100644
@@ -362,5 +362,15 @@
 			interrupt-names = "mspi_done";
 			status = "disabled";
 		};
+
+		waketimer: waketimer@408e80 {
+			compatible = "brcm,brcmstb-waketimer";
+			reg = <0x408e80 0x14>;
+			interrupts = <0x3>;
+			interrupt-parent = <&aon_pm_l2_intc>;
+			interrupt-names = "timer";
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
 	};
 };
arch/mips/boot/dts/brcm/bcm7360.dtsi +10 -0
index f68285c2dff0..28f5a0c1c149 100644
@@ -413,6 +413,16 @@
 			interrupt-names = "mspi_done";
 			status = "disabled";
 		};
+
+		waketimer: waketimer@408e80 {
+			compatible = "brcm,brcmstb-waketimer";
+			reg = <0x408e80 0x14>;
+			interrupts = <0x3>;
+			interrupt-parent = <&aon_pm_l2_intc>;
+			interrupt-names = "timer";
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
 	};
 
 	memory_controllers {
arch/mips/boot/dts/brcm/bcm7362.dtsi +10 -0
index a4bfa5f2b006..ab2dd57571a0 100644
@@ -409,6 +409,16 @@
 			interrupt-names = "mspi_done";
 			status = "disabled";
 		};
+
+		waketimer: waketimer@408e80 {
+			compatible = "brcm,brcmstb-waketimer";
+			reg = <0x408e80 0x14>;
+			interrupts = <0x3>;
+			interrupt-parent = <&aon_pm_l2_intc>;
+			interrupt-names = "timer";
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
 	};
 
 	memory_controllers {
arch/mips/boot/dts/brcm/bcm7425.dtsi +10 -0
index 6cb535235efa..23479f988aa5 100644
@@ -505,6 +505,16 @@
 			interrupt-names = "mspi_done";
 			status = "disabled";
 		};
+
+		waketimer: waketimer@409580 {
+			compatible = "brcm,brcmstb-waketimer";
+			reg = <0x409580 0x14>;
+			interrupts = <0x3>;
+			interrupt-parent = <&aon_pm_l2_intc>;
+			interrupt-names = "timer";
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
 	};
 
 	memory_controllers {
arch/mips/boot/dts/brcm/bcm7435.dtsi +10 -0
index 1e0545c7f5b7..af75b0123c06 100644
@@ -520,6 +520,16 @@
 			interrupt-names = "mspi_done";
 			status = "disabled";
 		};
+
+		waketimer: waketimer@409580 {
+			compatible = "brcm,brcmstb-waketimer";
+			reg = <0x409580 0x14>;
+			interrupts = <0x3>;
+			interrupt-parent = <&aon_pm_l2_intc>;
+			interrupt-names = "timer";
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
 	};
 
 	memory_controllers {
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +4 -0
index 9e7d5228f2b7..b50dbb3cbeee 100644
@@ -114,3 +114,7 @@
 &mspi {
 	status = "okay";
 };
+
+&waketimer {
+	status = "okay";
+};
arch/mips/boot/dts/brcm/bcm97358svmb.dts +4 -0
index 708207a0002d..2986ce353e57 100644
@@ -106,3 +106,7 @@
 &mspi {
 	status = "okay";
 };
+
+&waketimer {
+	status = "okay";
+};
arch/mips/boot/dts/brcm/bcm97360svmb.dts +4 -0
index 73c6dc9c8c6d..8d48ae317b8c 100644
@@ -109,3 +109,7 @@
 &mspi {
 	status = "okay";
 };
+
+&waketimer {
+	status = "okay";
+};
arch/mips/boot/dts/brcm/bcm97362svmb.dts +4 -0
index 37bacfdcf9d9..4a1d0631e9e6 100644
@@ -78,3 +78,7 @@
 &mspi {
 	status = "okay";
 };
+
+&waketimer {
+	status = "okay";
+};
arch/mips/boot/dts/brcm/bcm97425svmb.dts +4 -0
index ce762c7b2e54..488e12a9e4aa 100644
@@ -144,3 +144,7 @@
 &mspi {
 	status = "okay";
 };
+
+&waketimer {
+	status = "okay";
+};
arch/mips/boot/dts/brcm/bcm97435svmb.dts +4 -0
index d4dd31a543fd..e14337cc51fd 100644
@@ -120,3 +120,7 @@
 &mspi {
 	status = "okay";
 };
+
+&waketimer {
+	status = "okay";
+};
Signature · 6 lines
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

PATCH 3/3 MIPS: BMIPS: Add Broadcom STB watchdog nodes

In reply to a message not in the archive

Adds watchdog device nodes to BCM7xxx MIPS based SoCs.

---
 arch/mips/boot/dts/brcm/bcm7125.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7346.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7358.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7360.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7362.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7420.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7425.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm7435.dtsi      | 7 +++++++
 arch/mips/boot/dts/brcm/bcm97125cbmb.dts  | 4 ++++
 arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 4 ++++
 arch/mips/boot/dts/brcm/bcm97358svmb.dts  | 4 ++++
 arch/mips/boot/dts/brcm/bcm97360svmb.dts  | 4 ++++
 arch/mips/boot/dts/brcm/bcm97362svmb.dts  | 4 ++++
 arch/mips/boot/dts/brcm/bcm97420c.dts     | 4 ++++
 arch/mips/boot/dts/brcm/bcm97425svmb.dts  | 4 ++++
 arch/mips/boot/dts/brcm/bcm97435svmb.dts  | 4 ++++
 16 files changed, 88 insertions(+)
arch/mips/boot/dts/brcm/bcm7125.dtsi +7 -0
index 2f9ef565e5d0..5bf77b6fcceb 100644
@@ -198,6 +198,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4067e8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4067e8 0x14>;
+			status = "disabled";
+		};
+
 		upg_gio: gpio@406700 {
 			compatible = "brcm,brcmstb-gpio";
 			reg = <0x406700 0x80>;
arch/mips/boot/dts/brcm/bcm7346.dtsi +7 -0
index 228184dedada..2afa0dada575 100644
@@ -233,6 +233,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4067e8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4067e8 0x14>;
+			status = "disabled";
+		};
+
 		aon_pm_l2_intc: interrupt-controller@408440 {
 			compatible = "brcm,l2-intc";
 			reg = <0x408440 0x30>;
arch/mips/boot/dts/brcm/bcm7358.dtsi +7 -0
index 398521c7070f..6375fc77f389 100644
@@ -217,6 +217,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4066a8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4066a8 0x14>;
+			status = "disabled";
+		};
+
 		aon_pm_l2_intc: interrupt-controller@408240 {
 			compatible = "brcm,l2-intc";
 			reg = <0x408240 0x30>;
arch/mips/boot/dts/brcm/bcm7360.dtsi +7 -0
index 28f5a0c1c149..a57cacea91cf 100644
@@ -209,6 +209,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4066a8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4066a8 0x14>;
+			status = "disabled";
+		};
+
 		aon_pm_l2_intc: interrupt-controller@408440 {
 			compatible = "brcm,l2-intc";
 			reg = <0x408440 0x30>;
arch/mips/boot/dts/brcm/bcm7362.dtsi +7 -0
index ab2dd57571a0..728b9e9f84b8 100644
@@ -205,6 +205,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4066a8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4066a8 0x14>;
+			status = "disabled";
+		};
+
 		aon_pm_l2_intc: interrupt-controller@408440 {
 			compatible = "brcm,l2-intc";
 			reg = <0x408440 0x30>;
arch/mips/boot/dts/brcm/bcm7420.dtsi +7 -0
index d262e11bc3f9..9540c27f12e7 100644
@@ -214,6 +214,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4067e8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4067e8 0x14>;
+			status = "disabled";
+		};
+
 		upg_gio: gpio@406700 {
 			compatible = "brcm,brcmstb-gpio";
 			reg = <0x406700 0x80>;
arch/mips/boot/dts/brcm/bcm7425.dtsi +7 -0
index 23479f988aa5..410e61ebaf9e 100644
@@ -232,6 +232,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4067e8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4067e8 0x14>;
+			status = "disabled";
+		};
+
 		aon_pm_l2_intc: interrupt-controller@408440 {
 			compatible = "brcm,l2-intc";
 			reg = <0x408440 0x30>;
arch/mips/boot/dts/brcm/bcm7435.dtsi +7 -0
index af75b0123c06..8398b7f68bf4 100644
@@ -247,6 +247,13 @@
 			status = "disabled";
 		};
 
+		watchdog: watchdog@4067e8 {
+			clocks = <&upg_clk>;
+			compatible = "brcm,bcm7038-wdt";
+			reg = <0x4067e8 0x14>;
+			status = "disabled";
+		};
+
 		aon_pm_l2_intc: interrupt-controller@408440 {
 			compatible = "brcm,l2-intc";
 			reg = <0x408440 0x30>;
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +4 -0
index 7f59ea2ded6c..79e9769f7e00 100644
@@ -50,6 +50,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 /* FIXME: USB is wonky; disable it for now */
 &ehci0 {
 	status = "disabled";
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +4 -0
index b50dbb3cbeee..28370ff77eeb 100644
@@ -59,6 +59,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 &enet0 {
 	status = "okay";
 };
arch/mips/boot/dts/brcm/bcm97358svmb.dts +4 -0
index 2986ce353e57..41c1b510c230 100644
@@ -55,6 +55,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 &enet0 {
 	status = "okay";
 };
arch/mips/boot/dts/brcm/bcm97360svmb.dts +4 -0
index 8d48ae317b8c..9f6c6c9b7ea7 100644
@@ -50,6 +50,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 &enet0 {
 	status = "okay";
 };
arch/mips/boot/dts/brcm/bcm97362svmb.dts +4 -0
index 4a1d0631e9e6..df8b755c390f 100644
@@ -47,6 +47,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 &enet0 {
 	status = "okay";
 };
arch/mips/boot/dts/brcm/bcm97420c.dts +4 -0
index f96241e94874..086faeaa384a 100644
@@ -60,6 +60,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 /* FIXME: MAC driver comes up but cannot attach to PHY */
 &enet0 {
 	status = "disabled";
arch/mips/boot/dts/brcm/bcm97425svmb.dts +4 -0
index 488e12a9e4aa..0ed22217bf3a 100644
@@ -61,6 +61,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 &enet0 {
 	status = "okay";
 };
arch/mips/boot/dts/brcm/bcm97435svmb.dts +4 -0
index e14337cc51fd..2c145a883aef 100644
@@ -61,6 +61,10 @@
 	status = "okay";
 };
 
+&watchdog {
+	status = "okay";
+};
+
 &enet0 {
 	status = "okay";
 };
Signature · 6 lines
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reviewed-by on the v1 series
#5 lore raw
In reply to Jaedon Shin
Quoted 7 lines · Jaedon Shin

This series adds power and memory management related devie tree nodes for Broadcom STB platforms.

Jaedon Shin (3):
MIPS: BMIPS: Add Broadcom STB power management nodes
MIPS: BMIPS: Add Broadcom STB wake-up timer nodes
MIPS: BMIPS: Add Broadcom STB watchdog nodes

Thanks!

Quoted 19 lines
 arch/mips/boot/dts/brcm/bcm7125.dtsi      |  7 +++
 arch/mips/boot/dts/brcm/bcm7346.dtsi      | 62 +++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7358.dtsi      | 17 ++++++
 arch/mips/boot/dts/brcm/bcm7360.dtsi      | 62 +++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7362.dtsi      | 62 +++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7420.dtsi      |  7 +++
 arch/mips/boot/dts/brcm/bcm7425.dtsi      | 89 +++++++++++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm7435.dtsi      | 89 +++++++++++++++++++++++++++++++
 arch/mips/boot/dts/brcm/bcm97125cbmb.dts  |  4 ++
 arch/mips/boot/dts/brcm/bcm97346dbsmb.dts |  8 +++
 arch/mips/boot/dts/brcm/bcm97358svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97360svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97362svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97420c.dts     |  4 ++
 arch/mips/boot/dts/brcm/bcm97425svmb.dts  |  8 +++
 arch/mips/boot/dts/brcm/bcm97435svmb.dts  |  8 +++
 16 files changed, 451 insertions(+)
Signature · 1 line
Florian
Applied
#6 lore raw
Quoted 10 lines · Florian Fainelli
Quoted 7 lines · Jaedon Shin

This series adds power and memory management related devie tree nodes for Broadcom STB platforms.

Jaedon Shin (3):
MIPS: BMIPS: Add Broadcom STB power management nodes
MIPS: BMIPS: Add Broadcom STB wake-up timer nodes
MIPS: BMIPS: Add Broadcom STB watchdog nodes

Thanks, applied for 4.17.

Cheers
James