fragment@0 {
target-path = "/soc/spi@10060000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
fragment@1 {
target-path = "/soc/spi@10070000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
fragment@2 {
target-path = "/soc/spi@10080000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
fragment@3 {
target-path = "/soc/spi@12070000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
fragment@4 {
target-path = "/soc/spi@12080000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
fragment@5 {
target-path = "/soc/spi@12090000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
fragment@6 {
target-path = "/soc/spi@120A0000";
__overlay__ {
- compatible = "starfive-of,pl022";
+ compatible = "starfive,jh7110-spi-pl022";
status = "okay";
};
};
}
static const struct of_device_id starfive_of_pl022_match[] = {
- { .compatible = "starfive-of,pl022" },
+ { .compatible = "starfive,jh7110-spi-pl022" },
{ },
};
MODULE_DEVICE_TABLE(of, starfive_of_pl022_match);
static struct platform_driver starfive_of_pl022_driver = {
.driver = {
- .name = "starfive-pl022",
+ .name = "starfive-spi-pl022",
.of_match_table = starfive_of_pl022_match,
.pm = &pl022_dev_pm_ops,
},