Skip to content

Commit

Permalink
Documentation: devicetree: add Broadcom SATA binding
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Brian Norris authored and Tejun Heo committed May 25, 2015
1 parent eab6ee1 commit e3e694f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Documentation/devicetree/bindings/ata/brcm,sata-brcmstb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
* Broadcom SATA3 AHCI Controller for STB

SATA nodes are defined to describe on-chip Serial ATA controllers.
Each SATA controller should have its own node.

Required properties:
- compatible : compatible list, may contain "brcm,bcm7445-ahci" and/or
"brcm,sata3-ahci"
- reg : register mappings for AHCI and SATA_TOP_CTRL
- reg-names : "ahci" and "top-ctrl"
- interrupts : interrupt mapping for SATA IRQ

Also see ahci-platform.txt.

Example:

sata@f045a000 {
compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci";
reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>;
reg-names = "ahci", "top-ctrl";
interrupts = <0 30 0>;
#address-cells = <1>;
#size-cells = <0>;

sata0: sata-port@0 {
reg = <0>;
phys = <&sata_phy 0>;
};

sata1: sata-port@1 {
reg = <1>;
phys = <&sata_phy 1>;
};
};

0 comments on commit e3e694f

Please sign in to comment.