Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier LD11 Reference Board
0004 //
0005 // Copyright (C) 2016 Socionext Inc.
0006 //   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
0007 
0008 /dts-v1/;
0009 #include "uniphier-ld11.dtsi"
0010 #include "uniphier-ref-daughter.dtsi"
0011 #include "uniphier-support-card.dtsi"
0012 
0013 / {
0014         model = "UniPhier LD11 Reference Board";
0015         compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11";
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                 i2c4 = &i2c4;
0031                 i2c5 = &i2c5;
0032                 ethernet0 = &eth;
0033         };
0034 
0035         memory@80000000 {
0036                 device_type = "memory";
0037                 reg = <0 0x80000000 0 0x40000000>;
0038         };
0039 };
0040 
0041 &ethsc {
0042         interrupts = <0 8>;
0043 };
0044 
0045 &serialsc {
0046         interrupts = <0 8>;
0047 };
0048 
0049 &serial0 {
0050         status = "okay";
0051 };
0052 
0053 &gpio {
0054         xirq0 {
0055                 gpio-hog;
0056                 gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
0057                 input;
0058         };
0059 };
0060 
0061 &i2c0 {
0062         status = "okay";
0063 };
0064 
0065 &usb0 {
0066         status = "okay";
0067 };
0068 
0069 &usb1 {
0070         status = "okay";
0071 };
0072 
0073 &usb2 {
0074         status = "okay";
0075 };
0076 
0077 &eth {
0078         status = "okay";
0079         phy-handle = <&ethphy>;
0080 };
0081 
0082 &mdio {
0083         ethphy: ethernet-phy@1 {
0084                 reg = <1>;
0085         };
0086 };