Signed-off-by: xingyu.wu <xingyu.wu@starfivetech.com>
aliases {
spi0="/soc/spi@13010000";
gpio0="/soc/gpio@13040000";
- ethernet0="/soc/gmac0@16030000";
+ ethernet0="/soc/ethernet@16030000";
mmc0="/soc/sdio0@16010000";
mmc1="/soc/sdio1@16020000";
};
status = "disabled";
};
- qspi: qspi@13010000 {
- compatible = "cadence,qspi","cdns,qspi-nor";
+ qspi: spi@13010000 {
+ compatible = "cdns,qspi-nor";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x13010000 0x0 0x10000
status = "disabled";
};
- spi0: spi0@10060000 {
+ spi0: spi@10060000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x0 0x10060000 0x0 0x10000>;
clocks = <&clkgen JH7110_SPI0_CLK_APB>;
pl022->rst = devm_reset_control_get_exclusive(&adev->dev, "rst_apb");
if (!IS_ERR(pl022->rst)) {
status = reset_control_deassert(pl022->rst);
- if(status){
+ if (status) {
dev_err(&adev->dev, "could not deassert SSP/SPI bus reset\n");
goto err_no_rst_clr;
}