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 bcm7425

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

authored by

Jaedon Shin and committed by
Ralf Baechle
ce6df637 f50cbf53

+42
+42
arch/mips/boot/dts/brcm/bcm7425.dtsi
··· 221 221 interrupts = <73>; 222 222 status = "disabled"; 223 223 }; 224 + 225 + sata: sata@181000 { 226 + compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; 227 + reg-names = "ahci", "top-ctrl"; 228 + reg = <0x181000 0xa9c>, <0x180020 0x1c>; 229 + interrupt-parent = <&periph_intc>; 230 + interrupts = <40>; 231 + #address-cells = <1>; 232 + #size-cells = <0>; 233 + brcm,broken-ncq; 234 + brcm,broken-phy; 235 + status = "disabled"; 236 + 237 + sata0: sata-port@0 { 238 + reg = <0>; 239 + phys = <&sata_phy0>; 240 + }; 241 + 242 + sata1: sata-port@1 { 243 + reg = <1>; 244 + phys = <&sata_phy1>; 245 + }; 246 + }; 247 + 248 + sata_phy: sata-phy@1800000 { 249 + compatible = "brcm,bcm7425-sata-phy", "brcm,phy-sata3"; 250 + reg = <0x180100 0x0eff>; 251 + reg-names = "phy"; 252 + #address-cells = <1>; 253 + #size-cells = <0>; 254 + status = "disabled"; 255 + 256 + sata_phy0: sata-phy@0 { 257 + reg = <0>; 258 + #phy-cells = <0>; 259 + }; 260 + 261 + sata_phy1: sata-phy@1 { 262 + reg = <1>; 263 + #phy-cells = <0>; 264 + }; 265 + }; 224 266 }; 225 267 };