Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier sLD8 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-sld8.dtsi"
0010 #include "uniphier-ref-daughter.dtsi"
0011 #include "uniphier-support-card.dtsi"
0012 
0013 / {
0014         model = "UniPhier sLD8 Reference Board";
0015         compatible = "socionext,uniphier-sld8-ref", "socionext,uniphier-sld8";
0016 
0017         chosen {
0018                 stdout-path = "serial0:115200n8";
0019         };
0020 
0021         aliases {
0022                 serial0 = &serial0;
0023                 serial1 = &serialsc;
0024                 serial2 = &serial2;
0025                 serial3 = &serial3;
0026                 i2c0 = &i2c0;
0027                 i2c1 = &i2c1;
0028                 i2c2 = &i2c2;
0029                 i2c3 = &i2c3;
0030         };
0031 
0032         memory@80000000 {
0033                 device_type = "memory";
0034                 reg = <0x80000000 0x20000000>;
0035         };
0036 };
0037 
0038 &ethsc {
0039         interrupts = <0 8>;
0040 };
0041 
0042 &serialsc {
0043         interrupts = <0 8>;
0044 };
0045 
0046 &serial0 {
0047         status = "okay";
0048 };
0049 
0050 &serial2 {
0051         status = "okay";
0052 };
0053 
0054 &serial3 {
0055         status = "okay";
0056 };
0057 
0058 &gpio {
0059         xirq0 {
0060                 gpio-hog;
0061                 gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
0062                 input;
0063         };
0064 };
0065 
0066 &i2c0 {
0067         status = "okay";
0068 };
0069 
0070 &sd {
0071         status = "okay";
0072 };
0073 
0074 &usb0 {
0075         status = "okay";
0076 };
0077 
0078 &usb1 {
0079         status = "okay";
0080 };
0081 
0082 &usb2 {
0083         status = "okay";
0084 };
0085 
0086 &nand {
0087         status = "okay";
0088 
0089         nand@0 {
0090                 reg = <0>;
0091         };
0092 };