diff options
Diffstat (limited to 'arch/arm/dts/stm32mp151.dtsi')
-rw-r--r-- | arch/arm/dts/stm32mp151.dtsi | 64 |
1 files changed, 39 insertions, 25 deletions
diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi index 8f8249dbc4..d3e924dc00 100644 --- a/arch/arm/dts/stm32mp151.dtsi +++ b/arch/arm/dts/stm32mp151.dtsi @@ -1,40 +1,54 @@ / { - clocks { - /* Needed to let barebox find the clock nodes */ - compatible = "simple-bus"; - }; - aliases { - gpio0 = &gpioa; - gpio1 = &gpiob; - gpio2 = &gpioc; - gpio3 = &gpiod; - gpio4 = &gpioe; - gpio5 = &gpiof; - gpio6 = &gpiog; - gpio7 = &gpioh; - gpio8 = &gpioi; - gpio9 = &gpioj; - gpio10 = &gpiok; - gpio25 = &gpioz; 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; }; - psci { - compatible = "arm,psci-0.2"; - }; +}; + +&{/clocks} { + /* Needed to let barebox find the clock nodes */ + compatible = "simple-bus"; +}; - soc { - memory-controller@5a003000 { - compatible = "st,stm32mp1-ddr"; - reg = <0x5a003000 0x1000>; - }; +&{/soc} { + memory-controller@5a003000 { + compatible = "st,stm32mp1-ddr"; + reg = <0x5a003000 0x1000>; }; }; &bsec { barebox,provide-mac-address = <ðernet0 0x39>; }; + +&iwdg2 { + barebox,restart-warm-bootrom; +}; + +&tamp { + reboot_mode_tamp: reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x150>; /* reg20 */ + mask = <0xffff>; + mode-normal = <0>; + mode-loader = <0xBB>; + mode-recovery = <0xBC>; + barebox,mode-serial = <0xFF>; + }; +}; |