aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaedon Shin <jaedon.shin@gmail.com>2015-10-27 02:48:10 -0400
committerRalf Baechle <ralf@linux-mips.org>2015-11-11 02:37:49 -0500
commit19e88101c78fdbfb93580f7ac0eb64eea040cbb6 (patch)
treee86accf76b630ef31f04626a68fc594384ed59b9
parentce6df6376a1eeb63c694f8e82e9563b59c5506a6 (diff)
MIPS: BMIPS: Add SATA/PHY nodes for bcm7346
Add AHCI and PHY device nodes to MIPS-based BCM7346 set-top box platform. Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Tejun Heo <tj@kernel.org> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Dragan Stancevic <dragan.stancevic@gmail.com> Cc: linux-ide@vger.kernel.org Cc: Linux-MIPS <linux-mips@linux-mips.org> Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/11378/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/boot/dts/brcm/bcm7346.dtsi42
-rw-r--r--arch/mips/boot/dts/brcm/bcm97346dbsmb.dts8
2 files changed, 50 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm7346.dtsi b/arch/mips/boot/dts/brcm/bcm7346.dtsi
index 0a1927099075..d4bf52cfcf17 100644
--- a/arch/mips/boot/dts/brcm/bcm7346.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7346.dtsi
@@ -314,5 +314,47 @@
314 interrupts = <76>; 314 interrupts = <76>;
315 status = "disabled"; 315 status = "disabled";
316 }; 316 };
317
318 sata: sata@181000 {
319 compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci";
320 reg-names = "ahci", "top-ctrl";
321 reg = <0x181000 0xa9c>, <0x180020 0x1c>;
322 interrupt-parent = <&periph_intc>;
323 interrupts = <40>;
324 #address-cells = <1>;
325 #size-cells = <0>;
326 brcm,broken-ncq;
327 brcm,broken-phy;
328 status = "disabled";
329
330 sata0: sata-port@0 {
331 reg = <0>;
332 phys = <&sata_phy0>;
333 };
334
335 sata1: sata-port@1 {
336 reg = <1>;
337 phys = <&sata_phy1>;
338 };
339 };
340
341 sata_phy: sata-phy@1800000 {
342 compatible = "brcm,bcm7425-sata-phy", "brcm,phy-sata3";
343 reg = <0x180100 0x0eff>;
344 reg-names = "phy";
345 #address-cells = <1>;
346 #size-cells = <0>;
347 status = "disabled";
348
349 sata_phy0: sata-phy@0 {
350 reg = <0>;
351 #phy-cells = <0>;
352 };
353
354 sata_phy1: sata-phy@1 {
355 reg = <1>;
356 #phy-cells = <0>;
357 };
358 };
317 }; 359 };
318}; 360};
diff --git a/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts b/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
index a5b6365afc5f..d3d28816a027 100644
--- a/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
+++ b/arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
@@ -84,3 +84,11 @@
84&ohci3 { 84&ohci3 {
85 status = "okay"; 85 status = "okay";
86}; 86};
87
88&sata {
89 status = "okay";
90};
91
92&sata_phy {
93 status = "okay";
94};