forked from hardkernel/linux
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mvebu-dt-3.16-2' of git://git.infradead.org/linux-mvebu in…
…to next/dt Merge "mvebu DT changes for v3.16 (incremental #2)" from Jason Cooper: - kirkwood - add OpenRD boards - make keymile boards bootable with latest kernels - mvebu - add ehci/xhci to Armada 375/38x boards * tag 'mvebu-dt-3.16-2' of git://git.infradead.org/linux-mvebu: ARM: dts: kirkwood: add kirkwood-km_fixedeth DTS file ARM: dts: kirkwood: add kirkwood-km_common DTSI files ARM: dts: kirkwood: resynch 98dx4122 dtsi ARM: mvebu: add Device Tree description for the EHCI controllers on Armada 375 ARM: mvebu: add Device Tree description of the xHCI controller on Armada 375 ARM: mvebu: add Device Tree description of the EHCI controller on Armada 38x ARM: mvebu: add Device Tree description of xHCI controllers on Armada 38x ARM: Kirkwood: DT versions of OpenRD boards Signed-off-by: Arnd Bergmann <arnd@arndb.de>
- Loading branch information
Showing
14 changed files
with
453 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,10 @@ | |
reg = <1>; | ||
}; | ||
}; | ||
|
||
usb3@f0000 { | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
pcie-controller { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,51 @@ | ||
/ { | ||
mbus { | ||
pciec: pcie-controller { | ||
compatible = "marvell,kirkwood-pcie"; | ||
status = "disabled"; | ||
device_type = "pci"; | ||
|
||
#address-cells = <3>; | ||
#size-cells = <2>; | ||
|
||
bus-range = <0x00 0xff>; | ||
|
||
ranges = | ||
<0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 | ||
0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */ | ||
0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>; | ||
|
||
pcie0: pcie@1,0 { | ||
device_type = "pci"; | ||
assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>; | ||
reg = <0x0800 0 0 0 0>; | ||
#address-cells = <3>; | ||
#size-cells = <2>; | ||
#interrupt-cells = <1>; | ||
ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 | ||
0x81000000 0 0 0x81000000 0x1 0 1 0>; | ||
interrupt-map-mask = <0 0 0 0>; | ||
interrupt-map = <0 0 0 0 &intc 9>; | ||
marvell,pcie-port = <0>; | ||
marvell,pcie-lane = <0>; | ||
clocks = <&gate_clk 2>; | ||
status = "disabled"; | ||
}; | ||
}; | ||
}; | ||
|
||
ocp@f1000000 { | ||
pinctrl: pin-controller@10000 { | ||
compatible = "marvell,98dx4122-pinctrl"; | ||
|
||
}; | ||
}; | ||
}; | ||
|
||
&sata_phy0 { | ||
status = "disabled"; | ||
}; | ||
|
||
&sata_phy1 { | ||
status = "disabled"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/ { | ||
chosen { | ||
bootargs = "console=ttyS0,115200n8 earlyprintk"; | ||
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 >; | ||
pinctrl-names = "default"; | ||
|
||
pmx_i2c_gpio_sda: pmx-gpio-sda { | ||
marvell,pins = "mpp8"; | ||
marvell,function = "gpio"; | ||
}; | ||
pmx_i2c_gpio_scl: pmx-gpio-scl { | ||
marvell,pins = "mpp9"; | ||
marvell,function = "gpio"; | ||
}; | ||
}; | ||
|
||
serial@12000 { | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
i2c@0 { | ||
compatible = "i2c-gpio"; | ||
gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */ | ||
&gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */ | ||
i2c-gpio,delay-us = <2>; /* ~100 kHz */ | ||
}; | ||
}; | ||
|
||
&nand { | ||
status = "okay"; | ||
chip-delay = <25>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/dts-v1/; | ||
|
||
#include "kirkwood.dtsi" | ||
#include "kirkwood-98dx4122.dtsi" | ||
#include "kirkwood-km_common.dtsi" | ||
|
||
/ { | ||
model = "Keymile Kirkwood Fixed Eth"; | ||
compatible = "keymile,km_fixedeth", "marvell,kirkwood-98DX4122", "marvell,kirkwood"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x10000000>; | ||
}; | ||
}; | ||
|
||
ð0 { | ||
status = "okay"; | ||
ethernet0-port@0 { | ||
speed = <1000>; /* <SPEED_1000> */ | ||
duplex = <1>; /* <DUPLEX_FULL> */ | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Marvell OpenRD Base Board Description | ||
* | ||
* Andrew Lunn <andrew@lunn.ch> | ||
* | ||
* This file is licensed under the terms of the GNU General Public | ||
* License version 2. This program is licensed "as is" without any | ||
* warranty of any kind, whether express or implied. | ||
* | ||
* This file contains the definitions that are specific to OpenRD | ||
* base variant of the Marvell Kirkwood Development Board. | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "kirkwood-openrd.dtsi" | ||
|
||
/ { | ||
model = "OpenRD Base"; | ||
compatible = "marvell,openrd-base", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
|
||
ocp@f1000000 { | ||
serial@12100 { | ||
status = "okay"; | ||
}; | ||
}; | ||
}; | ||
|
||
&mdio { | ||
status = "okay"; | ||
|
||
ethphy0: ethernet-phy@8 { | ||
reg = <8>; | ||
}; | ||
}; | ||
|
||
ð0 { | ||
status = "okay"; | ||
ethernet0-port@0 { | ||
phy-handle = <ðphy0>; | ||
}; | ||
}; |
Oops, something went wrong.