The proper compatibility string for the AHCI device is

allwinner,sun4i-ahci, so use that instead of the older string which
had become FreeBSD specific.
This commit is contained in:
Warner Losh 2014-09-02 16:38:00 +00:00
parent 952263f26f
commit 696a6f55d1
3 changed files with 6 additions and 2 deletions

View File

@ -60,6 +60,10 @@
emac@01c0b000 {
status = "okay";
};
ahci: sata@01c18000 {
status = "okay";
};
};
chosen {

View File

@ -104,7 +104,7 @@
};
sata@01c18000 {
compatible = "allwinner,ahci";
compatible = "allwinner,sun4i-ahci";
reg = <0x01c18000 0x1000>;
interrupts = <56>;
interrupt-parent = <&AINTC>;

View File

@ -110,7 +110,7 @@
};
sata@01c18000 {
compatible = "allwinner,ahci";
compatible = "allwinner,sun4i-a10-ahci";
reg = <0x01c18000 0x1000>;
interrupts = <56>;
interrupt-parent = <&GIC>;