ARM: mvebu: helios4 dts changes to enable SPI

Move all aliases defintions into the main dts file
Add u-boot definiton to i2c0 based on clearfog
set spi1 status to okay

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2020-12-08 21:07:37 -06:00 committed by Stefan Roese
parent 5a3db5d1af
commit 827bed4456
2 changed files with 26 additions and 11 deletions

View File

@ -1,13 +1,5 @@
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
/ {
aliases {
i2c0 = &i2c0;
i2c1 = &i2c1;
spi1 = &spi1;
};
};
&eth0 { &eth0 {
phy-reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; phy-reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
}; };
@ -20,7 +12,6 @@
}; };
&w25q32 { &w25q32 {
status = "okay";
u-boot,dm-spl; u-boot,dm-spl;
}; };
@ -37,5 +28,17 @@
}; };
&sdhci { &sdhci {
u-boot,dm-spl; u-boot,dm-spl;
};
&i2c0 {
u-boot,dm-spl;
eeprom@52 {
u-boot,dm-spl;
};
eeprom@53 {
u-boot,dm-spl;
};
}; };

View File

@ -22,10 +22,14 @@
}; };
aliases { aliases {
/* So that mvebu u-boot can update the MAC addresses */ /* So that mvebu u-boot can update the MAC address */
ethernet1 = &eth0; ethernet1 = &eth0;
spi1 = &spi1;
i2c0 = &i2c0;
i2c1 = &i2c1;
}; };
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
@ -306,3 +310,11 @@
}; };
}; };
}; };
&w25q32 {
status = "okay";
};
&spi1 {
status = "okay";
};