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 bcm7362

Add AHCI and PHY device nodes to MIPS-based BCM7362 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/11379/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Jaedon Shin and committed by
Ralf Baechle
1b04be20 19e88101

+50
+42
arch/mips/boot/dts/brcm/bcm7362.dtsi
··· 237 237 interrupts = <66>; 238 238 status = "disabled"; 239 239 }; 240 + 241 + sata: sata@181000 { 242 + compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; 243 + reg-names = "ahci", "top-ctrl"; 244 + reg = <0x181000 0xa9c>, <0x180020 0x1c>; 245 + interrupt-parent = <&periph_intc>; 246 + interrupts = <86>; 247 + #address-cells = <1>; 248 + #size-cells = <0>; 249 + brcm,broken-ncq; 250 + brcm,broken-phy; 251 + status = "disabled"; 252 + 253 + sata0: sata-port@0 { 254 + reg = <0>; 255 + phys = <&sata_phy0>; 256 + }; 257 + 258 + sata1: sata-port@1 { 259 + reg = <1>; 260 + phys = <&sata_phy1>; 261 + }; 262 + }; 263 + 264 + sata_phy: sata-phy@1800000 { 265 + compatible = "brcm,bcm7425-sata-phy", "brcm,phy-sata3"; 266 + reg = <0x180100 0x0eff>; 267 + reg-names = "phy"; 268 + #address-cells = <1>; 269 + #size-cells = <0>; 270 + status = "disabled"; 271 + 272 + sata_phy0: sata-phy@0 { 273 + reg = <0>; 274 + #phy-cells = <0>; 275 + }; 276 + 277 + sata_phy1: sata-phy@1 { 278 + reg = <1>; 279 + #phy-cells = <0>; 280 + }; 281 + }; 240 282 }; 241 283 };
+8
arch/mips/boot/dts/brcm/bcm97362svmb.dts
··· 52 52 &ohci0 { 53 53 status = "okay"; 54 54 }; 55 + 56 + &sata { 57 + status = "okay"; 58 + }; 59 + 60 + &sata_phy { 61 + status = "okay"; 62 + };