mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
ARM: UniPhier: move EEPROM device node into a separate DTS
This EEPROM chip is installed on the expansion board commonly used on UniPhier platform. To avoid duplicated description, move the EEPROM node to a separate file and include it from other device tree sources. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Device Tree Source for UniPhier PH1-LD4 Reference Board
|
* Device Tree Source for UniPhier PH1-LD4 Reference Board
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Panasonic Corporation
|
* Copyright (C) 2014-2015 Panasonic Corporation
|
||||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-ld4.dtsi"
|
/include/ "uniphier-ph1-ld4.dtsi"
|
||||||
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Panasonic UniPhier PH1-LD4 Reference Board";
|
model = "Panasonic UniPhier PH1-LD4 Reference Board";
|
||||||
@@ -46,10 +47,6 @@
|
|||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
eeprom {
|
|
||||||
compatible = "i2c-eeprom";
|
|
||||||
reg = <0x50>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb0 {
|
&usb0 {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Device Tree Source for UniPhier PH1-Pro4 Reference Board
|
* Device Tree Source for UniPhier PH1-Pro4 Reference Board
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Panasonic Corporation
|
* Copyright (C) 2014-2015 Panasonic Corporation
|
||||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-pro4.dtsi"
|
/include/ "uniphier-ph1-pro4.dtsi"
|
||||||
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Panasonic UniPhier PH1-Pro4 Reference Board";
|
model = "Panasonic UniPhier PH1-Pro4 Reference Board";
|
||||||
@@ -48,10 +49,6 @@
|
|||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
eeprom {
|
|
||||||
compatible = "i2c-eeprom";
|
|
||||||
reg = <0x50>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb0 {
|
&usb0 {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Device Tree Source for UniPhier PH1-sLD3 Reference Board
|
* Device Tree Source for UniPhier PH1-sLD3 Reference Board
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Panasonic Corporation
|
* Copyright (C) 2014-2015 Panasonic Corporation
|
||||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-sld3.dtsi"
|
/include/ "uniphier-ph1-sld3.dtsi"
|
||||||
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Panasonic UniPhier PH1-sLD3 Reference Board";
|
model = "Panasonic UniPhier PH1-sLD3 Reference Board";
|
||||||
@@ -45,10 +46,6 @@
|
|||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
eeprom {
|
|
||||||
compatible = "i2c-eeprom";
|
|
||||||
reg = <0x50>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb0 {
|
&usb0 {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Device Tree Source for UniPhier PH1-sLD8 Reference Board
|
* Device Tree Source for UniPhier PH1-sLD8 Reference Board
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Panasonic Corporation
|
* Copyright (C) 2014-2015 Panasonic Corporation
|
||||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
/include/ "uniphier-ph1-sld8.dtsi"
|
/include/ "uniphier-ph1-sld8.dtsi"
|
||||||
|
/include/ "uniphier-ref-daughter.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Panasonic UniPhier PH1-sLD8 Reference Board";
|
model = "Panasonic UniPhier PH1-sLD8 Reference Board";
|
||||||
@@ -46,10 +47,6 @@
|
|||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
eeprom {
|
|
||||||
compatible = "i2c-eeprom";
|
|
||||||
reg = <0x50>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb0 {
|
&usb0 {
|
||||||
|
15
arch/arm/dts/uniphier-ref-daughter.dtsi
Normal file
15
arch/arm/dts/uniphier-ref-daughter.dtsi
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* Device Tree Source for UniPhier Reference Daughter Board
|
||||||
|
*
|
||||||
|
* Copyright (C) 2014-2015 Panasonic Corporation
|
||||||
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
|
*/
|
||||||
|
|
||||||
|
&i2c0 {
|
||||||
|
eeprom {
|
||||||
|
compatible = "i2c-eeprom";
|
||||||
|
reg = <0x50>;
|
||||||
|
};
|
||||||
|
};
|
Reference in New Issue
Block a user