summaryrefslogtreecommitdiff
path: root/arch/powerpc/dts/kmcent2-u-boot.dtsi
blob: 28f303b749e98e461f56d3470392a37a054ea2d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * (C) Copyright 2021  Niel Fourie <lusus@denx.de>
 */

#include <config.h>

/ {

	aliases {
		spi0 = "/soc@ffe000000/spi@110000";
		i2c0 = "/soc@ffe000000/i2c@118000";
		i2c1 = "/soc@ffe000000/i2c@118000/mux@70/i2c@0";
		i2c2 = "/soc@ffe000000/i2c@118000/mux@70/i2c@1";
		i2c3 = "/soc@ffe000000/i2c@118000/mux@70/i2c@7";
		i2c4 = "/soc@ffe000000/i2c@118100";
		/delete-property/ pci1;
		/delete-property/ pci2;
		/delete-property/ pci3;
	};

	chosen {
		stdout-path = "/soc@ffe000000/serial@11c500";
	};

	soc@ffe000000 {
		u-boot,dm-pre-reloc;
		spi@110000 {
			/* This documents where km_fpgacfg should be appear */
			fpga@0 {
				compatible = "keymile,fpga-conf";
				reg = <0>;
				spi-max-frequency = <25000000>;
			};
		};

		sdhc@114000 {
			status = "okay";
		};

		i2c@118000 {
			u-boot,dm-pre-reloc;
			mux@70 {
				i2c@1 { /* IVM bus */
					reg = <1>;
					#address-cells = <1>;
					#size-cells = <0>;
				};
			};
		};

		serial@11c500 {
			u-boot,dm-pre-reloc;
			clock-frequency = <200000000>;
		};

		fman@400000 {
			ethernet@e0000 {
				phy-connection-type = "sgmii";
			};

			ethernet@e2000 {
				phy-connection-type = "sgmii";
			};

			ethernet@e8000 {
				phy-connection-type = "rgmii-id";
			};
		};

	};

	pcie@ffe240000 {
		compatible = "fsl,pcie-t104x";
		law_trgt_if = <0>;
	};

	binman {
		filename = "u-boot.bin";
		skip-at-start = <CONFIG_TEXT_BASE>;
		sort-by-offset;
		pad-byte = <0xff>;
		size = <CONFIG_SYS_MONITOR_LEN>;

		u-boot-with-ucode-ptr {
			offset = <CONFIG_TEXT_BASE>;
			optional-ucode;
		};

		u-boot-dtb-with-ucode {
			align = <256>;
		};
		powerpc-mpc85xx-bootpg-resetvec {
			offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
		};
	};
};