Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier Pro4 Reference Board
0004 //
0005 // Copyright (C) 2015-2016 Socionext Inc.
0006 //   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
0007 
0008 /dts-v1/;
0009 #include "uniphier-pro4.dtsi"
0010 #include "uniphier-ref-daughter.dtsi"
0011 #include "uniphier-support-card.dtsi"
0012 
0013 / {
0014         model = "UniPhier Pro4 Reference Board";
0015         compatible = "socionext,uniphier-pro4-ref", "socionext,uniphier-pro4";
0016 
0017         chosen {
0018                 stdout-path = "serial0:115200n8";
0019         };
0020 
0021         aliases {
0022                 serial0 = &serial0;
0023                 serial1 = &serial1;
0024                 serial2 = &serial2;
0025                 serial3 = &serialsc;
0026                 i2c0 = &i2c0;
0027                 i2c1 = &i2c1;
0028                 i2c2 = &i2c2;
0029                 i2c3 = &i2c3;
0030                 i2c5 = &i2c5;
0031                 i2c6 = &i2c6;
0032                 ethernet0 = &eth;
0033         };
0034 
0035         memory@80000000 {
0036                 device_type = "memory";
0037                 reg = <0x80000000 0x40000000>;
0038         };
0039 };
0040 
0041 &ethsc {
0042         interrupts = <2 8>;
0043 };
0044 
0045 &serialsc {
0046         interrupts = <2 8>;
0047 };
0048 
0049 &serial0 {
0050         status = "okay";
0051 };
0052 
0053 &serial1 {
0054         status = "okay";
0055 };
0056 
0057 &serial2 {
0058         status = "okay";
0059 };
0060 
0061 &gpio {
0062         xirq2 {
0063                 gpio-hog;
0064                 gpios = <UNIPHIER_GPIO_IRQ(2) 0>;
0065                 input;
0066         };
0067 };
0068 
0069 &i2c0 {
0070         status = "okay";
0071 };
0072 
0073 &sd {
0074         status = "okay";
0075 };
0076 
0077 &usb2 {
0078         status = "okay";
0079 };
0080 
0081 &usb3 {
0082         status = "okay";
0083 };
0084 
0085 &eth {
0086         status = "okay";
0087         phy-handle = <&ethphy>;
0088 };
0089 
0090 &mdio {
0091         ethphy: ethernet-phy@0 {
0092                 reg = <0>;
0093         };
0094 };
0095 
0096 &usb0 {
0097         status = "okay";
0098 };
0099 
0100 &usb1 {
0101         status = "okay";
0102 };
0103 
0104 &nand {
0105         status = "okay";
0106 
0107         nand@0 {
0108                 reg = <0>;
0109         };
0110 };