]> git.sur5r.net Git - u-boot/blob - arch/arm/dts/uniphier-proxstream2-gentil.dts
ARM: dts: uniphier: add EEPROM node for ProXstream2 Gentil board
[u-boot] / arch / arm / dts / uniphier-proxstream2-gentil.dts
1 /*
2  * Device Tree Source for UniPhier ProXstream2 Gentil Board
3  *
4  * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8
9 /dts-v1/;
10 /include/ "uniphier-proxstream2.dtsi"
11
12 / {
13         model = "UniPhier ProXstream2 Gentil Board";
14         compatible = "socionext,proxstream2-gentil", "socionext,proxstream2";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x80000000>;
19         };
20
21         chosen {
22                 stdout-path = "serial2:115200n8";
23         };
24
25         aliases {
26                 serial0 = &serial0;
27                 serial1 = &serial1;
28                 serial2 = &serial2;
29                 i2c0 = &i2c0;
30                 i2c4 = &i2c4;
31                 i2c5 = &i2c5;
32                 i2c6 = &i2c6;
33         };
34 };
35
36 &serial2 {
37         status = "okay";
38 };
39
40 &i2c0 {
41         status = "okay";
42
43         eeprom {
44                 compatible = "24c64", "i2c-eeprom";
45                 reg = <0x54>;
46                 u-boot,i2c-offset-len = <2>;
47         };
48 };
49
50 &usb0 {
51         status = "okay";
52 };
53
54 &usb1 {
55         status = "okay";
56 };
57
58 /* for U-Boot only */
59 / {
60         soc {
61                 u-boot,dm-pre-reloc;
62         };
63 };
64
65 &serial2 {
66         u-boot,dm-pre-reloc;
67 };
68
69 &pinctrl {
70         u-boot,dm-pre-reloc;
71 };
72
73 &pinctrl_uart2 {
74         u-boot,dm-pre-reloc;
75 };