ARM: dts: uniphier: add pinctrl device node and pinctrl properties
[oweals/u-boot.git] / arch / arm / dts / uniphier-ph1-sld8-ref.dts
1 /*
2  * Device Tree Source for UniPhier PH1-sLD8 Reference Board
3  *
4  * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
5  *
6  * SPDX-License-Identifier:     GPL-2.0+        X11
7  */
8
9 /dts-v1/;
10 /include/ "uniphier-ph1-sld8.dtsi"
11 /include/ "uniphier-ref-daughter.dtsi"
12 /include/ "uniphier-support-card.dtsi"
13
14 / {
15         model = "UniPhier PH1-sLD8 Reference Board";
16         compatible = "socionext,ph1-sld8-ref", "socionext,ph1-sld8";
17
18         memory {
19                 device_type = "memory";
20                 reg = <0x80000000 0x20000000>;
21         };
22
23         chosen {
24                 stdout-path = "serial0:115200n8";
25         };
26
27         aliases {
28                 serial0 = &serial0;
29                 serial1 = &serial1;
30                 serial2 = &serial2;
31                 serial3 = &serial3;
32                 i2c0 = &i2c0;
33                 i2c1 = &i2c1;
34                 i2c2 = &i2c2;
35                 i2c3 = &i2c3;
36         };
37 };
38
39 &ethsc {
40         interrupts = <0 48 4>;
41 };
42
43 &serial0 {
44         status = "okay";
45 };
46
47 &serial2 {
48         status = "okay";
49 };
50
51 &serial3 {
52         status = "okay";
53 };
54
55 &i2c0 {
56         status = "okay";
57 };
58
59 &sd {
60         status = "okay";
61 };
62
63 &usb0 {
64         status = "okay";
65 };
66
67 &usb1 {
68         status = "okay";
69 };
70
71 &usb2 {
72         status = "okay";
73 };
74
75 /* for U-Boot only */
76 &serial0 {
77         u-boot,dm-pre-reloc;
78 };
79
80 &pinctrl_uart0 {
81         u-boot,dm-pre-reloc;
82 };