Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier LD6b 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-ld6b.dtsi"
0010 #include "uniphier-ref-daughter.dtsi"
0011 #include "uniphier-support-card.dtsi"
0012 
0013 / {
0014         model = "UniPhier LD6b Reference Board";
0015         compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
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                 i2c4 = &i2c4;
0031                 i2c5 = &i2c5;
0032                 i2c6 = &i2c6;
0033                 ethernet0 = &eth;
0034         };
0035 
0036         memory@80000000 {
0037                 device_type = "memory";
0038                 reg = <0x80000000 0x80000000>;
0039         };
0040 };
0041 
0042 &ethsc {
0043         interrupts = <4 8>;
0044 };
0045 
0046 &serialsc {
0047         interrupts = <4 8>;
0048 };
0049 
0050 &serial0 {
0051         status = "okay";
0052 };
0053 
0054 &serial1 {
0055         status = "okay";
0056 };
0057 
0058 &serial2 {
0059         status = "okay";
0060 };
0061 
0062 &gpio {
0063         xirq4 {
0064                 gpio-hog;
0065                 gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
0066                 input;
0067         };
0068 };
0069 
0070 &i2c0 {
0071         status = "okay";
0072 };
0073 
0074 &sd {
0075         status = "okay";
0076 };
0077 
0078 &eth {
0079         status = "okay";
0080         phy-handle = <&ethphy>;
0081 };
0082 
0083 &mdio {
0084         ethphy: ethernet-phy@0 {
0085                 reg = <0>;
0086         };
0087 };
0088 
0089 &usb0 {
0090         status = "okay";
0091 };
0092 
0093 &usb1 {
0094         status = "okay";
0095 };
0096 
0097 &nand {
0098         status = "okay";
0099 
0100         nand@0 {
0101                 reg = <0>;
0102         };
0103 };