2018-04-16 03:35:33 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
|
|
//
|
|
|
|
// Device Tree Source for UniPhier PXs3 Reference Board
|
|
|
|
//
|
|
|
|
// Copyright (C) 2017 Socionext Inc.
|
|
|
|
// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
2017-01-21 09:05:30 +00:00
|
|
|
|
|
|
|
/dts-v1/;
|
2017-08-29 03:20:53 +00:00
|
|
|
#include "uniphier-pxs3.dtsi"
|
|
|
|
#include "uniphier-support-card.dtsi"
|
2017-01-21 09:05:30 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "UniPhier PXs3 Reference Board";
|
|
|
|
compatible = "socionext,uniphier-pxs3-ref", "socionext,uniphier-pxs3";
|
|
|
|
|
2017-03-12 15:16:40 +00:00
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2017-01-21 09:05:30 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &serial0;
|
|
|
|
serial1 = &serial1;
|
|
|
|
serial2 = &serial2;
|
|
|
|
serial3 = &serial3;
|
|
|
|
i2c0 = &i2c0;
|
|
|
|
i2c1 = &i2c1;
|
|
|
|
i2c2 = &i2c2;
|
|
|
|
i2c3 = &i2c3;
|
|
|
|
i2c6 = &i2c6;
|
2020-07-09 06:08:14 +00:00
|
|
|
spi0 = &spi0;
|
|
|
|
spi1 = &spi1;
|
|
|
|
ethernet0 = ð0;
|
|
|
|
ethernet1 = ð1;
|
2017-01-21 09:05:30 +00:00
|
|
|
};
|
|
|
|
|
2017-03-12 15:16:40 +00:00
|
|
|
memory@80000000 {
|
2017-01-21 09:05:30 +00:00
|
|
|
device_type = "memory";
|
|
|
|
reg = <0 0x80000000 0 0xa0000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ðsc {
|
2017-11-24 15:25:35 +00:00
|
|
|
interrupts = <4 8>;
|
2017-01-21 09:05:30 +00:00
|
|
|
};
|
|
|
|
|
2020-07-09 06:08:14 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-01-21 09:05:30 +00:00
|
|
|
&serial0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-03-15 02:43:03 +00:00
|
|
|
&serial2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&serial3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-11-24 15:25:35 +00:00
|
|
|
&gpio {
|
|
|
|
xirq4 {
|
|
|
|
gpio-hog;
|
|
|
|
gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
|
|
|
|
input;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-01-21 09:05:30 +00:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-08-29 03:20:53 +00:00
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-06-19 07:11:47 +00:00
|
|
|
&sd {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-04-16 03:35:33 +00:00
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <ðphy0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mdio0 {
|
|
|
|
ethphy0: ethphy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <ðphy1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mdio1 {
|
|
|
|
ethphy1: ethphy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-08-29 03:20:53 +00:00
|
|
|
&usb0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-10-17 12:19:43 +00:00
|
|
|
|
2019-04-12 09:55:50 +00:00
|
|
|
&pcie {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-10-17 12:19:43 +00:00
|
|
|
&nand {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2020-07-09 06:08:14 +00:00
|
|
|
|
|
|
|
&pinctrl_ether_rgmii {
|
|
|
|
tx {
|
|
|
|
pins = "RGMII0_TXCLK", "RGMII0_TXD0", "RGMII0_TXD1",
|
|
|
|
"RGMII0_TXD2", "RGMII0_TXD3", "RGMII0_TXCTL";
|
|
|
|
drive-strength = <9>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_ether1_rgmii {
|
|
|
|
tx {
|
|
|
|
pins = "RGMII1_TXCLK", "RGMII1_TXD0", "RGMII1_TXD1",
|
|
|
|
"RGMII1_TXD2", "RGMII1_TXD3", "RGMII1_TXCTL";
|
|
|
|
drive-strength = <9>;
|
|
|
|
};
|
|
|
|
};
|