diff options
author | Dennis Gilmore <dennis@ausil.us> | 2020-12-08 21:07:37 -0600 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-01-27 07:25:39 +0100 |
commit | 827bed445682e711e53b0bd909316f61a8f23d58 (patch) | |
tree | 4ac790a6921b873b418e56daa2dd774a9f9c75c3 /arch/arm | |
parent | 5a3db5d1af5208b1de99da16a8f99e0dfbe92c7e (diff) | |
download | u-boot-827bed445682e711e53b0bd909316f61a8f23d58.zip u-boot-827bed445682e711e53b0bd909316f61a8f23d58.tar.gz u-boot-827bed445682e711e53b0bd909316f61a8f23d58.tar.bz2 |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/armada-388-helios4-u-boot.dtsi | 23 | ||||
-rw-r--r-- | arch/arm/dts/armada-388-helios4.dts | 14 |
2 files changed, 26 insertions, 11 deletions
diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi b/arch/arm/dts/armada-388-helios4-u-boot.dtsi index 0753889..1047c1a 100644 --- a/arch/arm/dts/armada-388-helios4-u-boot.dtsi +++ b/arch/arm/dts/armada-388-helios4-u-boot.dtsi @@ -1,13 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ -/ { - aliases { - i2c0 = &i2c0; - i2c1 = &i2c1; - spi1 = &spi1; - }; -}; - ð0 { phy-reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; }; @@ -20,7 +12,6 @@ }; &w25q32 { - status = "okay"; u-boot,dm-spl; }; @@ -37,5 +28,17 @@ }; &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; + }; }; diff --git a/arch/arm/dts/armada-388-helios4.dts b/arch/arm/dts/armada-388-helios4.dts index fb49df2..cbc296a 100644 --- a/arch/arm/dts/armada-388-helios4.dts +++ b/arch/arm/dts/armada-388-helios4.dts @@ -22,10 +22,14 @@ }; aliases { - /* So that mvebu u-boot can update the MAC addresses */ + /* So that mvebu u-boot can update the MAC address */ ethernet1 = ð0; + spi1 = &spi1; + i2c0 = &i2c0; + i2c1 = &i2c1; }; + chosen { stdout-path = "serial0:115200n8"; }; @@ -306,3 +310,11 @@ }; }; }; + +&w25q32 { + status = "okay"; +}; + +&spi1 { + status = "okay"; +}; |