Commit eb13cf83 authored by Andrew Lunn's avatar Andrew Lunn Committed by Gregory CLEMENT

ARM: dts: kirkwood: Fixup pcie DT warnings

PCIe has a range property, so the unit name should contain an address.
Make use of the label to enable individual PCIe busses. Also, fixup
the synology dtsi file which added a label pcie2 rather than using the
existing pcie1 label.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 8b1750de
/ {
mbus {
pciec: pcie-controller {
pciec: pcie-controller@82000000 {
compatible = "marvell,kirkwood-pcie";
status = "disabled";
device_type = "pci";
......
/ {
mbus {
pciec: pcie-controller {
pciec: pcie-controller@82000000 {
compatible = "marvell,kirkwood-pcie";
status = "disabled";
device_type = "pci";
......
/ {
mbus {
pciec: pcie-controller {
pciec: pcie-controller@82000000 {
compatible = "marvell,kirkwood-pcie";
status = "disabled";
device_type = "pci";
......
/ {
mbus {
pciec: pcie-controller {
pciec: pcie-controller@82000000 {
compatible = "marvell,kirkwood-pcie";
status = "disabled";
device_type = "pci";
......
......@@ -33,17 +33,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
/* Wifi model has Atheros chipset on pcie port */
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_button_power: pmx-button-power {
......@@ -199,3 +188,11 @@ ethernet1-port@0 {
};
};
/* Wifi model has Atheros chipset on pcie port */
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -17,14 +17,12 @@
/ {
model = "Marvell DB-88F6281-BP Development Board";
compatible = "marvell,db-88f6281-bp", "marvell,kirkwood-88f6281", "marvell,kirkwood";
};
mbus {
pcie-controller {
&pciec {
status = "okay";
};
pcie@1,0 {
&pcie0 {
status = "okay";
};
};
};
};
......@@ -17,18 +17,16 @@
/ {
model = "Marvell DB-88F6282-BP Development Board";
compatible = "marvell,db-88f6282-bp", "marvell,kirkwood-88f6282", "marvell,kirkwood";
};
mbus {
pcie-controller {
&pciec {
status = "okay";
};
pcie@1,0 {
&pcie0 {
status = "okay";
};
};
pcie@2,0 {
&pcie1 {
status = "okay";
};
};
};
};
......@@ -25,16 +25,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-0 =< &pmx_led_usb
......@@ -276,3 +266,11 @@ &eth1 {
&rtc {
status = "disabled";
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -40,6 +40,6 @@ &s35390a {
status = "okay";
};
&pcie2 {
&pcie1 {
status = "okay";
};
......@@ -44,6 +44,10 @@ &s35390a {
status = "okay";
};
&pcie2 {
&pciec {
status = "okay";
};
&pcie1 {
status = "okay";
};
......@@ -43,6 +43,6 @@ &s35390a {
status = "okay";
};
&pcie2 {
&pcie1 {
status = "okay";
};
......@@ -48,6 +48,10 @@ &s35390a {
status = "okay";
};
&pcie2 {
&pciec {
status = "okay";
};
&pcie1 {
status = "okay";
};
......@@ -44,6 +44,6 @@ &s35390a {
status = "okay";
};
&pcie2 {
&pcie1 {
status = "okay";
};
......@@ -19,16 +19,6 @@ chosen {
linux,initrd-end = <0x4800000>;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_button_reset: pmx-button-reset {
......@@ -194,3 +184,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -4,16 +4,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >;
......@@ -46,3 +36,11 @@ &nand {
status = "okay";
chip-delay = <25>;
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -27,15 +27,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
serial@12000 {
status = "okay";
......@@ -169,3 +160,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -49,15 +49,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_power_hdd0: pmx-power-hdd0 {
......@@ -200,3 +191,11 @@ hdd_power0: regulator@2 {
};
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -17,16 +17,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_led_health: pmx-led-health {
......@@ -215,3 +205,11 @@ ethernet1-port@0 {
phy-handle = <&ethphy1>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -31,16 +31,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pin-controller@10000 {
pmx_usb_led: pmx-usb-led {
......@@ -179,3 +169,11 @@ ethernet0-port@0 {
duplex = <1>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -28,16 +28,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
rtc@10300 {
/* The on-chip RTC is not powered (no supercap). */
......@@ -141,3 +131,11 @@ partition@9100000 {
reg = <0x9100000 0x6f00000>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -28,16 +28,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_button_power: pmx-button-power {
......@@ -251,3 +241,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -28,18 +28,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
/* Connected to NEC uPD720200 USB 3.0 controller */
pcie@1,0 {
/* Port 0, Lane 0 */
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_button_power: pmx-button-power {
......@@ -265,3 +253,12 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
/* Connected to NEC uPD720200 USB 3.0 controller */
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -15,16 +15,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-0 = <&pmx_unknown>;
......@@ -138,3 +128,11 @@ red-copy {
};
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -27,16 +27,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-names = "default";
......@@ -222,3 +212,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -28,16 +28,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-names = "default";
......@@ -236,3 +226,10 @@ ethernet0-port@0 {
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -4,16 +4,6 @@
/ {
model = "ZyXEL NSA310";
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
......@@ -157,3 +147,11 @@ partition@5040000 {
reg = <0x5040000 0x2fc0000>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -25,16 +25,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>;
......@@ -125,3 +115,7 @@ partition@600000 {
reg = <0x0600000 0x1FA00000>;
};
};
&pcie0 {
status = "okay";
};
......@@ -29,16 +29,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-0 = <&pmx_usb_power>;
......@@ -109,3 +99,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -25,16 +25,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-names = "default";
......@@ -134,3 +124,11 @@ ethernet0-port@0 {
duplex = <1>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -44,6 +44,10 @@ &s35390a {
status = "okay";
};
&pcie2 {
&pciec {
status = "okay";
};
&pcie1 {
status = "okay";
};
......@@ -10,20 +10,6 @@
*/
/ {
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
pcie2: pcie@2,0 {
status = "disabled";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pmx_alarmled_12: pmx-alarmled-12 {
......@@ -861,3 +847,11 @@ ethernet1-port@0 {
phy-handle = <&ethphy1>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -30,16 +30,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
......@@ -229,3 +219,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -5,16 +5,6 @@
#include "kirkwood-ts219.dtsi"
/ {
mbus {
pcie-controller {
status = "okay";
pcie@2,0 {
status = "okay";
};
};
};
ocp@f1000000 {
pinctrl: pin-controller@10000 {
......@@ -63,3 +53,5 @@ reset {
};
&ethphy0 { reg = <0>; };
&pcie1 { status = "okay"; };
......@@ -12,16 +12,6 @@ chosen {
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
i2c@11000 {
status = "okay";
......@@ -105,3 +95,11 @@ ethernet0-port@0 {
phy-handle = <&ethphy0>;
};
};
&pciec {
status = "okay";
};
&pcie0 {
status = "okay";
};
......@@ -16,17 +16,8 @@
#include "kirkwood-ts219.dtsi"
#include "kirkwood-ts419.dtsi"
/ {
mbus {
pcie-controller {
status = "okay";
pcie@2,0 {
status = "okay";
};
};
};
};
&ethphy0 { reg = <0>; };
&ethphy1 { reg = <1>; };
&pciec { status = "okay"; };
&pcie1 { status = "okay"; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment