Merge tag 'csky-for-linus-4.20-fixup-dtb' of https://github.com/c-sky/csky-linux
[sfrench/cifs-2.6.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                 reg = <0xC0000000 0x40000000>;
21         };
22
23         aliases {
24                 serial0 = &uart4;
25         };
26
27         reg11: reg11 {
28                 compatible = "regulator-fixed";
29                 regulator-name = "reg11";
30                 regulator-min-microvolt = <1100000>;
31                 regulator-max-microvolt = <1100000>;
32                 regulator-always-on;
33         };
34
35         reg18: reg18 {
36                 compatible = "regulator-fixed";
37                 regulator-name = "reg18";
38                 regulator-min-microvolt = <1800000>;
39                 regulator-max-microvolt = <1800000>;
40                 regulator-always-on;
41         };
42
43         vdd_usb: vdd-usb {
44                 compatible = "regulator-fixed";
45                 regulator-name = "vdd_usb";
46                 regulator-min-microvolt = <3300000>;
47                 regulator-max-microvolt = <3300000>;
48                 regulator-always-on;
49         };
50 };
51
52 &i2c4 {
53         pinctrl-names = "default";
54         pinctrl-0 = <&i2c4_pins_a>;
55         i2c-scl-rising-time-ns = <185>;
56         i2c-scl-falling-time-ns = <20>;
57         status = "okay";
58 };
59
60 &iwdg2 {
61         timeout-sec = <32>;
62         status = "okay";
63 };
64
65 &rng1 {
66         status = "okay";
67 };
68
69 &rtc {
70         status = "okay";
71 };
72
73 &timers6 {
74         status = "okay";
75         timer@5 {
76                 status = "okay";
77         };
78 };
79
80 &uart4 {
81         pinctrl-names = "default";
82         pinctrl-0 = <&uart4_pins_a>;
83         status = "okay";
84 };
85
86 &usbphyc_port0 {
87         phy-supply = <&vdd_usb>;
88         vdda1v1-supply = <&reg11>;
89         vdda1v8-supply = <&reg18>;
90 };
91
92 &usbphyc_port1 {
93         phy-supply = <&vdd_usb>;
94         vdda1v1-supply = <&reg11>;
95         vdda1v8-supply = <&reg18>;
96 };