]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc85xx, dts, socrates: add u-boot specific dtsi
authorHeiko Schocher <hs@denx.de>
Wed, 16 Oct 2019 03:55:48 +0000 (05:55 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 6 Nov 2019 11:00:19 +0000 (16:30 +0530)
add u-boot specific dtsi file for socrates board.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/socrates-u-boot.dtsi [new file with mode: 0644]
board/socrates/MAINTAINERS

diff --git a/arch/powerpc/dts/socrates-u-boot.dtsi b/arch/powerpc/dts/socrates-u-boot.dtsi
new file mode 100644 (file)
index 0000000..14a7c24
--- /dev/null
@@ -0,0 +1,40 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019
+ * Heiko Schocher, DENX Software Engineering, hs@denx.de
+ */
+/ {
+       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>;
+               };
+       };
+
+       chosen {
+               stdout-path = &serial0;
+       };
+
+       soc8544@e0000000 {
+               i2c@3000 {
+                       u-boot,dm-pre-reloc;
+               };
+       };
+};
+
+&pci0 {
+       clock-frequency = <33000000>;
+       ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
+                 0x01000000 0x0 0xe2000000 0xe2000000 0x0 0x01000000>;
+};
+
+&serial0 {
+       u-boot,dm-pre-reloc;
+       clock-frequency = <333333330>;
+};
index c5607fc3420aecf41e27c4ec560589cc905c5cca..2b27a73c18c5663dfd6296700478c1a29cb42bb2 100644 (file)
@@ -5,3 +5,4 @@ F:      board/socrates/
 F:     include/configs/socrates.h
 F:     configs/socrates_defconfig
 F:     arch/powerpc/dts/socrates.dts
+F:     arch/powerpc/dts/socrates-u-boot.dtsi