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>
master
Masahiro Yamada 9 years ago
parent eb006c83e6
commit a7f2ecf5dc
  1. 7
      arch/arm/dts/uniphier-ph1-ld4-ref.dts
  2. 7
      arch/arm/dts/uniphier-ph1-pro4-ref.dts
  3. 7
      arch/arm/dts/uniphier-ph1-sld3-ref.dts
  4. 7
      arch/arm/dts/uniphier-ph1-sld8-ref.dts
  5. 15
      arch/arm/dts/uniphier-ref-daughter.dtsi

@ -1,7 +1,7 @@
/*
* 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>
*
* SPDX-License-Identifier: GPL-2.0+
@ -9,6 +9,7 @@
/dts-v1/;
/include/ "uniphier-ph1-ld4.dtsi"
/include/ "uniphier-ref-daughter.dtsi"
/ {
model = "Panasonic UniPhier PH1-LD4 Reference Board";
@ -46,10 +47,6 @@
&i2c0 {
status = "okay";
eeprom {
compatible = "i2c-eeprom";
reg = <0x50>;
};
};
&usb0 {

@ -1,7 +1,7 @@
/*
* 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>
*
* SPDX-License-Identifier: GPL-2.0+
@ -9,6 +9,7 @@
/dts-v1/;
/include/ "uniphier-ph1-pro4.dtsi"
/include/ "uniphier-ref-daughter.dtsi"
/ {
model = "Panasonic UniPhier PH1-Pro4 Reference Board";
@ -48,10 +49,6 @@
&i2c0 {
status = "okay";
eeprom {
compatible = "i2c-eeprom";
reg = <0x50>;
};
};
&usb0 {

@ -1,7 +1,7 @@
/*
* 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>
*
* SPDX-License-Identifier: GPL-2.0+
@ -9,6 +9,7 @@
/dts-v1/;
/include/ "uniphier-ph1-sld3.dtsi"
/include/ "uniphier-ref-daughter.dtsi"
/ {
model = "Panasonic UniPhier PH1-sLD3 Reference Board";
@ -45,10 +46,6 @@
&i2c0 {
status = "okay";
eeprom {
compatible = "i2c-eeprom";
reg = <0x50>;
};
};
&usb0 {

@ -1,7 +1,7 @@
/*
* 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>
*
* SPDX-License-Identifier: GPL-2.0+
@ -9,6 +9,7 @@
/dts-v1/;
/include/ "uniphier-ph1-sld8.dtsi"
/include/ "uniphier-ref-daughter.dtsi"
/ {
model = "Panasonic UniPhier PH1-sLD8 Reference Board";
@ -46,10 +47,6 @@
&i2c0 {
status = "okay";
eeprom {
compatible = "i2c-eeprom";
reg = <0x50>;
};
};
&usb0 {

@ -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>;
};
};
Loading…
Cancel
Save