diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/dts/socrates-u-boot.dtsi | 23 | ||||
-rw-r--r-- | arch/powerpc/dts/socrates.dts | 59 | ||||
-rw-r--r-- | arch/powerpc/dts/u-boot.dtsi | 2 |
3 files changed, 45 insertions, 39 deletions
diff --git a/arch/powerpc/dts/socrates-u-boot.dtsi b/arch/powerpc/dts/socrates-u-boot.dtsi index 14a7c245dc4..88df0317321 100644 --- a/arch/powerpc/dts/socrates-u-boot.dtsi +++ b/arch/powerpc/dts/socrates-u-boot.dtsi @@ -3,18 +3,11 @@ * Copyright (C) 2019 * Heiko Schocher, DENX Software Engineering, hs@denx.de */ +#include <config.h> + / { - binman { - filename = "u-boot-socrates.bin"; - pad-byte = <0xff>; - // Place dtb one sector before u-boot-nodtb.bin - blob { - filename = "dts/dt.dtb"; - }; - u-boot-nodtb { - filename = "u-boot-nodtb.bin"; - offset = <0x20000>; - }; + aliases { + eeprom0 = &i2c_eeprom0; }; chosen { @@ -24,6 +17,12 @@ soc8544@e0000000 { i2c@3000 { u-boot,dm-pre-reloc; + + i2c_eeprom0: eeprom@51{ + compatible = "atmel,24c64"; + reg = <0x51>; + pagesize = <32>; + }; }; }; }; @@ -38,3 +37,5 @@ u-boot,dm-pre-reloc; clock-frequency = <333333330>; }; + +#include "u-boot.dtsi" diff --git a/arch/powerpc/dts/socrates.dts b/arch/powerpc/dts/socrates.dts index 452cf58b5e6..ea75eb6af3d 100644 --- a/arch/powerpc/dts/socrates.dts +++ b/arch/powerpc/dts/socrates.dts @@ -9,6 +9,8 @@ /dts-v1/; +/include/ "e500v2_power_isa.dtsi" + / { model = "abb,socrates"; compatible = "abb,socrates"; @@ -142,26 +144,29 @@ phy-handle = <&phy0>; tbi-handle = <&tbi0>; phy-connection-type = "rgmii-id"; + }; - mdio@520 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,gianfar-mdio"; - reg = <0x520 0x20>; - - phy0: ethernet-phy@0 { - interrupt-parent = <&mpic>; - interrupts = <0 1>; - reg = <0>; - }; - phy1: ethernet-phy@1 { - interrupt-parent = <&mpic>; - interrupts = <0 1>; - reg = <1>; - }; - tbi0: tbi-phy@11 { - reg = <0x11>; - }; + mdio@24520 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,gianfar-mdio"; + reg = <0x24520 0x20>; + + phy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + interrupt-parent = <&mpic>; + interrupts = <0 1>; + reg = <0>; + }; + + phy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + interrupt-parent = <&mpic>; + interrupts = <0 1>; + reg = <1>; + }; + tbi0: tbi-phy@11 { + reg = <0x11>; }; }; @@ -180,16 +185,16 @@ phy-handle = <&phy1>; tbi-handle = <&tbi1>; phy-connection-type = "rgmii-id"; + }; - mdio@520 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,gianfar-tbi"; - reg = <0x520 0x20>; + mdio@26520 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,gianfar-tbi"; + reg = <0x26520 0x20>; - tbi1: tbi-phy@11 { - reg = <0x11>; - }; + tbi1: tbi-phy@11 { + reg = <0x11>; }; }; diff --git a/arch/powerpc/dts/u-boot.dtsi b/arch/powerpc/dts/u-boot.dtsi index 6b7375cff21..c39ab6f0cac 100644 --- a/arch/powerpc/dts/u-boot.dtsi +++ b/arch/powerpc/dts/u-boot.dtsi @@ -9,7 +9,7 @@ / { binman { - filename = "u-boot.bin"; + filename = "u-boot-dtb.bin"; skip-at-start = <CONFIG_TEXT_BASE>; sort-by-offset; pad-byte = <0xff>; |