Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for UniPhier LD20 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-ld20.dtsi"
0010 #include "uniphier-ref-daughter.dtsi"
0011 #include "uniphier-support-card.dtsi"
0012 
0013 / {
0014         model = "UniPhier LD20 Reference Board";
0015         compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
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 0xc0000000>;
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 &eth {
0066         status = "okay";
0067         phy-handle = <&ethphy>;
0068 };
0069 
0070 &mdio {
0071         ethphy: ethernet-phy@0 {
0072                 reg = <0>;
0073         };
0074 };
0075 
0076 &pinctrl_ether_rgmii {
0077         tx {
0078                 pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1",
0079                        "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL";
0080                 drive-strength = <9>;
0081         };
0082 };
0083 
0084 &usb {
0085         status = "okay";
0086 };