Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: kirkwood: resynch 98dx4122 dtsi

The 98DX4122 dtsi file lacks the defintion of the PCIe controller which
is present on this SoC.

The SATA phys must also be explicitely disabled since they are not
present on this SoC. If they remain enabled, a hardlock occures when
their clock gates are enabled.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Link: https://lkml.kernel.org/r/1400230143-15620-2-git-send-email-valentin.longchamp@keymile.com
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Valentin Longchamp and committed by
Jason Cooper
d584a10d 57dc7971

+43
+43
arch/arm/boot/dts/kirkwood-98dx4122.dtsi
··· 1 1 / { 2 + mbus { 3 + pciec: pcie-controller { 4 + compatible = "marvell,kirkwood-pcie"; 5 + status = "disabled"; 6 + device_type = "pci"; 7 + 8 + #address-cells = <3>; 9 + #size-cells = <2>; 10 + 11 + bus-range = <0x00 0xff>; 12 + 13 + ranges = 14 + <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 15 + 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */ 16 + 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>; 17 + 18 + pcie0: pcie@1,0 { 19 + device_type = "pci"; 20 + assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>; 21 + reg = <0x0800 0 0 0 0>; 22 + #address-cells = <3>; 23 + #size-cells = <2>; 24 + #interrupt-cells = <1>; 25 + ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 26 + 0x81000000 0 0 0x81000000 0x1 0 1 0>; 27 + interrupt-map-mask = <0 0 0 0>; 28 + interrupt-map = <0 0 0 0 &intc 9>; 29 + marvell,pcie-port = <0>; 30 + marvell,pcie-lane = <0>; 31 + clocks = <&gate_clk 2>; 32 + status = "disabled"; 33 + }; 34 + }; 35 + }; 36 + 2 37 ocp@f1000000 { 3 38 pinctrl: pin-controller@10000 { 4 39 compatible = "marvell,98dx4122-pinctrl"; 5 40 6 41 }; 7 42 }; 43 + }; 44 + 45 + &sata_phy0 { 46 + status = "disabled"; 47 + }; 48 + 49 + &sata_phy1 { 50 + status = "disabled"; 8 51 };