Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
/ {
/ {
	mbus {
	mbus {
		pciec: pcie-controller {
		pciec: pcie-controller@82000000 {
			compatible = "marvell,kirkwood-pcie";
			compatible = "marvell,kirkwood-pcie";
			status = "disabled";
			status = "disabled";
			device_type = "pci";
			device_type = "pci";
+1 −1
Original line number Original line Diff line number Diff line
/ {
/ {
	mbus {
	mbus {
		pciec: pcie-controller {
		pciec: pcie-controller@82000000 {
			compatible = "marvell,kirkwood-pcie";
			compatible = "marvell,kirkwood-pcie";
			status = "disabled";
			status = "disabled";
			device_type = "pci";
			device_type = "pci";
+1 −1
Original line number Original line Diff line number Diff line
/ {
/ {
	mbus {
	mbus {
		pciec: pcie-controller {
		pciec: pcie-controller@82000000 {
			compatible = "marvell,kirkwood-pcie";
			compatible = "marvell,kirkwood-pcie";
			status = "disabled";
			status = "disabled";
			device_type = "pci";
			device_type = "pci";
+1 −1
Original line number Original line Diff line number Diff line
/ {
/ {
	mbus {
	mbus {
		pciec: pcie-controller {
		pciec: pcie-controller@82000000 {
			compatible = "marvell,kirkwood-pcie";
			compatible = "marvell,kirkwood-pcie";
			status = "disabled";
			status = "disabled";
			device_type = "pci";
			device_type = "pci";
+8 −11
Original line number Original line Diff line number Diff line
@@ -33,17 +33,6 @@
		stdout-path = &uart0;
		stdout-path = &uart0;
	};
	};


	mbus {
		pcie-controller {
			status = "okay";

			/* Wifi model has Atheros chipset on pcie port */
			pcie@1,0 {
				status = "okay";
			};
		};
	};

	ocp@f1000000 {
	ocp@f1000000 {
		pinctrl: pin-controller@10000 {
		pinctrl: pin-controller@10000 {
			pmx_button_power: pmx-button-power {
			pmx_button_power: pmx-button-power {
@@ -199,3 +188,11 @@
	};
	};
};
};


/* Wifi model has Atheros chipset on pcie port */
&pciec {
        status = "okay";
};

&pcie0 {
	status = "okay";
};
Loading