Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jaedon Shin and committed by
Ralf Baechle
19e88101 ce6df637

+50
+42
arch/mips/boot/dts/brcm/bcm7346.dtsi
··· 314 314 interrupts = <76>; 315 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 };
+8
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts
··· 84 84 &ohci3 { 85 85 status = "okay"; 86 86 }; 87 + 88 + &sata { 89 + status = "okay"; 90 + }; 91 + 92 + &sata_phy { 93 + status = "okay"; 94 + };