lantiq: dts: move localbus childs to dts

The localbus childs are highly board specific and need to be part of the
board dts. Otherwise we run into duplicate unit address issues if a
board has something else (NAND) connected to the bus id.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2019-01-27 16:34:33 +01:00
parent 85debe661e
commit 3b215a01bb
9 changed files with 80 additions and 52 deletions

View File

@ -135,11 +135,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x0>;
};
&gsw {
phy-mode = "mii";
mtd-mac-address = <&boardconfig 0x16>;
@ -180,6 +175,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x0>;
};
};
&pci0 {

View File

@ -132,11 +132,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x400>;
};
&gsw {
phy-mode = "mii";
mtd-mac-address = <&boardconfig 0x16>;
@ -176,6 +171,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x400>;
};
};
&pci0 {

View File

@ -155,11 +155,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x400>;
};
&gsw {
/* gpiomm 10 - switch */
phy-mode = "rmii";
@ -201,6 +196,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x400>;
};
};
&pci0 {

View File

@ -171,11 +171,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x77f>;
};
/*
#define ARV452CPW_SWITCH_RESET 110
*/
@ -219,6 +214,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x77f>;
};
};
&pci0 {

View File

@ -159,11 +159,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x0>;
};
/*
#define SWITCH_RESET 13
*/
@ -206,6 +201,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x0>;
};
};
&pci0 {

View File

@ -166,11 +166,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x3>;
};
&gsw {
phy-mode = "rmii";
mtd-mac-address = <&boardconfig 0x16>;
@ -211,6 +206,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x3>;
};
};
&pci0 {

View File

@ -181,12 +181,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <3>;
};
&gsw {
phy-mode = "mii";
mtd-mac-address = <&boardconfig 0x16>;
@ -227,6 +221,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <3>;
};
};
&pci0 {

View File

@ -64,12 +64,6 @@
};
};
&gpiomm {
status = "okay";
lantiq,shadow = <0x3>;
};
&gpios {
status = "okay";
};
@ -105,6 +99,16 @@
};
};
};
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0x3>;
};
};
&pci0 {

View File

@ -130,16 +130,6 @@
ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
1 0 0x4000000 0x4000010>; /* addsel1 */
compatible = "lantiq,localbus", "simple-bus";
gpiomm: gpiomm@1 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
#address-cells = <1>;
#size-cells = <1>;
#gpio-cells = <2>;
gpio-controller;
status = "disabled";
};
};
gptu@e100a00 {