Merge tag 'stm32-dt-for-v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[muen/linux.git] / arch / arm / boot / dts / stm32mp157c-ed1.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /*
3  * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
4  * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
5  */
6 /dts-v1/;
7
8 #include "stm32mp157c.dtsi"
9 #include "stm32mp157-pinctrl.dtsi"
10
11 / {
12         model = "STMicroelectronics STM32MP157C eval daughter";
13         compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
14
15         chosen {
16                 stdout-path = "serial0:115200n8";
17         };
18
19         memory@c0000000 {
20                 device_type = "memory";
21                 reg = <0xC0000000 0x40000000>;
22         };
23
24         aliases {
25                 serial0 = &uart4;
26         };
27
28         reg11: reg11 {
29                 compatible = "regulator-fixed";
30                 regulator-name = "reg11";
31                 regulator-min-microvolt = <1100000>;
32                 regulator-max-microvolt = <1100000>;
33                 regulator-always-on;
34         };
35
36         reg18: reg18 {
37                 compatible = "regulator-fixed";
38                 regulator-name = "reg18";
39                 regulator-min-microvolt = <1800000>;
40                 regulator-max-microvolt = <1800000>;
41                 regulator-always-on;
42         };
43
44         vdd_usb: vdd-usb {
45                 compatible = "regulator-fixed";
46                 regulator-name = "vdd_usb";
47                 regulator-min-microvolt = <3300000>;
48                 regulator-max-microvolt = <3300000>;
49                 regulator-always-on;
50         };
51 };
52
53 &dts {
54         status = "okay";
55 };
56
57 &i2c4 {
58         pinctrl-names = "default";
59         pinctrl-0 = <&i2c4_pins_a>;
60         i2c-scl-rising-time-ns = <185>;
61         i2c-scl-falling-time-ns = <20>;
62         status = "okay";
63 };
64
65 &iwdg2 {
66         timeout-sec = <32>;
67         status = "okay";
68 };
69
70 &rng1 {
71         status = "okay";
72 };
73
74 &rtc {
75         status = "okay";
76 };
77
78 &timers6 {
79         status = "okay";
80         /* spare dmas for other usage */
81         /delete-property/dmas;
82         /delete-property/dma-names;
83         timer@5 {
84                 status = "okay";
85         };
86 };
87
88 &uart4 {
89         pinctrl-names = "default";
90         pinctrl-0 = <&uart4_pins_a>;
91         status = "okay";
92 };
93
94 &usbphyc_port0 {
95         phy-supply = <&vdd_usb>;
96         vdda1v1-supply = <&reg11>;
97         vdda1v8-supply = <&reg18>;
98 };
99
100 &usbphyc_port1 {
101         phy-supply = <&vdd_usb>;
102         vdda1v1-supply = <&reg11>;
103         vdda1v8-supply = <&reg18>;
104 };