Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE
[pandora-u-boot.git] / arch / powerpc / dts / kmcent2-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * (C) Copyright 2021  Niel Fourie <lusus@denx.de>
4  */
5
6 #include <config.h>
7
8 / {
9
10         aliases {
11                 spi0 = "/soc@ffe000000/spi@110000";
12                 i2c0 = "/soc@ffe000000/i2c@118000";
13                 i2c1 = "/soc@ffe000000/i2c@118000/mux@70/i2c@0";
14                 i2c2 = "/soc@ffe000000/i2c@118000/mux@70/i2c@1";
15                 i2c3 = "/soc@ffe000000/i2c@118000/mux@70/i2c@7";
16                 i2c4 = "/soc@ffe000000/i2c@118100";
17                 /delete-property/ pci1;
18                 /delete-property/ pci2;
19                 /delete-property/ pci3;
20         };
21
22         chosen {
23                 stdout-path = "/soc@ffe000000/serial@11c500";
24         };
25
26         soc@ffe000000 {
27                 u-boot,dm-pre-reloc;
28                 spi@110000 {
29                         /* This documents where km_fpgacfg should be appear */
30                         fpga@0 {
31                                 compatible = "keymile,fpga-conf";
32                                 reg = <0>;
33                                 spi-max-frequency = <25000000>;
34                         };
35                 };
36
37                 sdhc@114000 {
38                         status = "okay";
39                 };
40
41                 i2c@118000 {
42                         u-boot,dm-pre-reloc;
43                         mux@70 {
44                                 i2c@1 { /* IVM bus */
45                                         reg = <1>;
46                                         #address-cells = <1>;
47                                         #size-cells = <0>;
48                                 };
49                         };
50                 };
51
52                 serial@11c500 {
53                         u-boot,dm-pre-reloc;
54                         clock-frequency = <200000000>;
55                 };
56
57                 fman@400000 {
58                         ethernet@e0000 {
59                                 phy-connection-type = "sgmii";
60                         };
61
62                         ethernet@e2000 {
63                                 phy-connection-type = "sgmii";
64                         };
65
66                         ethernet@e8000 {
67                                 phy-connection-type = "rgmii-id";
68                         };
69                 };
70
71         };
72
73         pcie@ffe240000 {
74                 compatible = "fsl,pcie-t104x";
75                 law_trgt_if = <0>;
76         };
77
78         binman {
79                 filename = "u-boot.bin";
80                 skip-at-start = <CONFIG_TEXT_BASE>;
81                 sort-by-offset;
82                 pad-byte = <0xff>;
83                 size = <CONFIG_SYS_MONITOR_LEN>;
84
85                 u-boot-with-ucode-ptr {
86                         offset = <CONFIG_TEXT_BASE>;
87                         optional-ucode;
88                 };
89
90                 u-boot-dtb-with-ucode {
91                         align = <256>;
92                 };
93                 powerpc-mpc85xx-bootpg-resetvec {
94                         offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
95                 };
96         };
97 };