summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/stm32mp151.dtsi
blob: eac997dfceaa785eb2408f8c3fbbdf3d81af4276 (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

/ {
	aliases {
		mmc0 = &sdmmc1;
		mmc1 = &sdmmc2;
		mmc2 = &sdmmc3;
		pwm1 = &{/soc/timer@44000000/pwm};
		pwm2 = &{/soc/timer@40000000/pwm};
		pwm3 = &{/soc/timer@40001000/pwm};
		pwm4 = &{/soc/timer@40002000/pwm};
		pwm5 = &{/soc/timer@40003000/pwm};
		pwm8 = &{/soc/timer@44001000/pwm};
		pwm12 = &{/soc/timer@40006000/pwm};
		pwm13 = &{/soc/timer@40007000/pwm};
		pwm14 = &{/soc/timer@40008000/pwm};
		pwm15 = &{/soc/timer@44006000/pwm};
		pwm16 = &{/soc/timer@44007000/pwm};
		pwm17 = &{/soc/timer@44008000/pwm};
		tamp.reboot_mode = &reboot_mode_tamp;
	};

};

&{/clocks} {
	/* Needed to let barebox find the clock nodes */
	compatible = "simple-bus";
};

&{/soc} {
	memory-controller@5a003000 {
		compatible = "st,stm32mp1-ddr";
		reg = <0x5a003000 0x1000>;
	};

	tamp@5c00a000 {
		compatible = "simple-bus", "syscon", "simple-mfd";
		reg = <0x5c00a000 0x400>;

		reboot_mode_tamp: reboot-mode {
			compatible = "syscon-reboot-mode";
			offset = <0x150>; /* reg20 */
			mask = <0xff>;
			mode-normal = <0>;
			mode-loader = <0xBB>;
			mode-recovery = <0xBC>;
		};
	};
};

&bsec {
	barebox,provide-mac-address = <&ethernet0 0x39>;
};

&usbphyc {
	vdda1v1-supply = <&reg11>;
	vdda1v8-supply = <&reg18>;
};