mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 12:57:13 +00:00
ARM: dts: uniphier: add device tree for Micro Support Card
Import uniphier-support-card.dtsi from Linux Kernel and make it available on the UniPhier reference boards. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
4976f48275
commit
6063498be8
6 changed files with 58 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-ld4.dtsi"
|
/include/ "uniphier-ph1-ld4.dtsi"
|
||||||
/include/ "uniphier-ref-daughter.dtsi"
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
/include/ "uniphier-support-card.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "UniPhier PH1-LD4 Reference Board";
|
model = "UniPhier PH1-LD4 Reference Board";
|
||||||
|
@ -35,6 +36,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ðsc {
|
||||||
|
interrupts = <0 49 4>;
|
||||||
|
};
|
||||||
|
|
||||||
&serial0 {
|
&serial0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-ld6b.dtsi"
|
/include/ "uniphier-ph1-ld6b.dtsi"
|
||||||
/include/ "uniphier-ref-daughter.dtsi"
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
/include/ "uniphier-support-card.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "UniPhier PH1-LD6b Reference Board";
|
model = "UniPhier PH1-LD6b Reference Board";
|
||||||
|
@ -37,6 +38,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ðsc {
|
||||||
|
interrupts = <0 52 4>;
|
||||||
|
};
|
||||||
|
|
||||||
&serial0 {
|
&serial0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-pro4.dtsi"
|
/include/ "uniphier-ph1-pro4.dtsi"
|
||||||
/include/ "uniphier-ref-daughter.dtsi"
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
/include/ "uniphier-support-card.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "UniPhier PH1-Pro4 Reference Board";
|
model = "UniPhier PH1-Pro4 Reference Board";
|
||||||
|
@ -38,6 +39,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ðsc {
|
||||||
|
interrupts = <0 50 4>;
|
||||||
|
};
|
||||||
|
|
||||||
&serial0 {
|
&serial0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-sld3.dtsi"
|
/include/ "uniphier-ph1-sld3.dtsi"
|
||||||
/include/ "uniphier-ref-daughter.dtsi"
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
/include/ "uniphier-support-card.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "UniPhier PH1-sLD3 Reference Board";
|
model = "UniPhier PH1-sLD3 Reference Board";
|
||||||
|
@ -36,6 +37,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ðsc {
|
||||||
|
interrupts = <0 49 4>;
|
||||||
|
};
|
||||||
|
|
||||||
&serial0 {
|
&serial0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-sld8.dtsi"
|
/include/ "uniphier-ph1-sld8.dtsi"
|
||||||
/include/ "uniphier-ref-daughter.dtsi"
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
/include/ "uniphier-support-card.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "UniPhier PH1-sLD8 Reference Board";
|
model = "UniPhier PH1-sLD8 Reference Board";
|
||||||
|
@ -35,6 +36,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ðsc {
|
||||||
|
interrupts = <0 48 4>;
|
||||||
|
};
|
||||||
|
|
||||||
&serial0 {
|
&serial0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
33
arch/arm/dts/uniphier-support-card.dtsi
Normal file
33
arch/arm/dts/uniphier-support-card.dtsi
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
/*
|
||||||
|
* Device Tree Source for UniPhier Support Card (Expansion Board)
|
||||||
|
*
|
||||||
|
* Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-2.0+ X11
|
||||||
|
*/
|
||||||
|
|
||||||
|
&system_bus {
|
||||||
|
status = "okay";
|
||||||
|
ranges = <1 0x00000000 0x42000000 0x02000000>;
|
||||||
|
|
||||||
|
support_card: support_card {
|
||||||
|
compatible = "simple-bus";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0x00000000 1 0x01f00000 0x00100000>;
|
||||||
|
|
||||||
|
ethsc: ethernet@00000000 {
|
||||||
|
compatible = "smsc,lan9118", "smsc,lan9115";
|
||||||
|
reg = <0x00000000 0x1000>;
|
||||||
|
phy-mode = "mii";
|
||||||
|
reg-io-width = <4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
serialsc: uart@000b0000 {
|
||||||
|
compatible = "ns16550a";
|
||||||
|
reg = <0x000b0000 0x20>;
|
||||||
|
clock-frequency = <12288000>;
|
||||||
|
reg-shift = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue