mvebu dt changes for v3.13 (round 2)
- kirkwood - use MBus DT binding for setting up the windows - move crypto and nand underneath the mbus node - ib62x0 has a u-boot env partition - mvebu - add the Armada XP matrix board -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAABAgAGBQJSVEKbAAoJEAi3KVZQDZAea2cH/0Vshr3Uift/HCY//dBHG91w OKT539uF4UqTe3B3BmIxGYYpemQMU37R346LPTYiiaTEOCqR90J2sYJKHB+6Yld5 llyI00ulhv6vLVdbGjlLW376lemrilRmH+LRQJdz/UoG64xpJ2RkqATXAQFh1hKi wLq5heB4T8kfWW3JF52XXR1UTbqJdZyc81gFY9ShSzc78nhyqYJ3MtXN37Cqwqqq e3izWC9Ujms9maSshY6ENGbOp8vyRslUxcCEFSWChn61fgHVvOA/7zqMRAkts5Ag cqccsTVR9v2p09O8WvpgM4N9ULwB+qSIS13tVBzOVRGJ3xx+wc8NfBqF/cr3S4I= =b/Ew -----END PGP SIGNATURE----- Merge tag 'dt-3.13-2' of git://git.infradead.org/linux-mvebu into next/dt From Jason Cooper: mvebu dt changes for v3.13 (round 2) - kirkwood - use MBus DT binding for setting up the windows - move crypto and nand underneath the mbus node - ib62x0 has a u-boot env partition - mvebu - add the Armada XP matrix board * tag 'dt-3.13-2' of git://git.infradead.org/linux-mvebu: arm: mvebu: add support for the Armada XP Matrix board ARM: kirkwood: ib62x0: add u-boot environment partition ARM: kirkwood: Move the nand node under the mbus node ARM: kirkwood: Move the crypto node under the mbus node ARM: kirkwood: Remove kirkwood_setup_wins and rely on the DT binding Signed-off-by: Kevin Hilman <khilman@linaro.org>
This commit is contained in:
commit
0398436522
23 changed files with 517 additions and 437 deletions
|
@ -111,6 +111,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
|
||||||
armada-xp-axpwifiap.dtb \
|
armada-xp-axpwifiap.dtb \
|
||||||
armada-xp-db.dtb \
|
armada-xp-db.dtb \
|
||||||
armada-xp-gp.dtb \
|
armada-xp-gp.dtb \
|
||||||
|
armada-xp-matrix.dtb \
|
||||||
armada-xp-openblocks-ax3-4.dtb
|
armada-xp-openblocks-ax3-4.dtb
|
||||||
dtb-$(CONFIG_ARCH_MXC) += \
|
dtb-$(CONFIG_ARCH_MXC) += \
|
||||||
imx25-karo-tx25.dtb \
|
imx25-karo-tx25.dtb \
|
||||||
|
|
75
arch/arm/boot/dts/armada-xp-matrix.dts
Normal file
75
arch/arm/boot/dts/armada-xp-matrix.dts
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
/*
|
||||||
|
* Device Tree file for Marvell Armada XP Matrix board
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Marvell
|
||||||
|
*
|
||||||
|
* Lior Amsalem <alior@marvell.com>
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
#include "armada-xp-mv78460.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Marvell Armada XP Matrix Board";
|
||||||
|
compatible = "marvell,axp-matrix", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
bootargs = "console=ttyS0,115200 earlyprintk";
|
||||||
|
};
|
||||||
|
|
||||||
|
memory {
|
||||||
|
device_type = "memory";
|
||||||
|
reg = <0 0x00000000 0 0x80000000>; /* 2 GB */
|
||||||
|
};
|
||||||
|
|
||||||
|
soc {
|
||||||
|
ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
|
||||||
|
MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
|
||||||
|
|
||||||
|
internal-regs {
|
||||||
|
serial@12000 {
|
||||||
|
clock-frequency = <250000000>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
serial@12100 {
|
||||||
|
clock-frequency = <250000000>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
serial@12200 {
|
||||||
|
clock-frequency = <250000000>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
serial@12300 {
|
||||||
|
clock-frequency = <250000000>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
sata@a0000 {
|
||||||
|
nr-ports = <2>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
ethernet@30000 {
|
||||||
|
status = "okay";
|
||||||
|
phy-mode = "sgmii";
|
||||||
|
};
|
||||||
|
|
||||||
|
pcie-controller {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
pcie@1,0 {
|
||||||
|
/* Port 0, Lane 0 */
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
usb@50000 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -19,7 +19,6 @@
|
||||||
compatible = "marvell,db-88f6281-bp", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
compatible = "marvell,db-88f6281-bp", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
||||||
|
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
compatible = "marvell,db-88f6282-bp", "marvell,kirkwood-88f6282", "marvell,kirkwood";
|
compatible = "marvell,db-88f6282-bp", "marvell,kirkwood-88f6282", "marvell,kirkwood";
|
||||||
|
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,26 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
sata@80000 {
|
||||||
|
nr-ports = <2>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
ehci@50000 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
mvsdio@90000 {
|
||||||
|
pinctrl-0 = <&pmx_sdio_gpios>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
wp-gpios = <&gpio1 5 0>;
|
||||||
|
cd-gpios = <&gpio1 6 0>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
pinctrl-0 = <&pmx_nand>;
|
pinctrl-0 = <&pmx_nand>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
chip-delay = <25>;
|
chip-delay = <25>;
|
||||||
|
@ -61,25 +80,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sata@80000 {
|
|
||||||
nr-ports = <2>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
ehci@50000 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
mvsdio@90000 {
|
|
||||||
pinctrl-0 = <&pmx_sdio_gpios>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
wp-gpios = <&gpio1 5 0>;
|
|
||||||
cd-gpios = <&gpio1 6 0>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -148,8 +148,41 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <2>;
|
nr-ports = <2>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
regulators {
|
||||||
|
compatible = "simple-bus";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
pinctrl-0 = <&pmx_power_sata0 &pmx_power_sata1>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
sata0_power: regulator@1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <1>;
|
||||||
|
regulator-name = "SATA0 Power";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
gpio = <&gpio1 7 0>;
|
||||||
|
};
|
||||||
|
sata1_power: regulator@2 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <2>;
|
||||||
|
regulator-name = "SATA1 Power";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
gpio = <&gpio1 8 0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
pinctrl-0 = <&pmx_nand>;
|
pinctrl-0 = <&pmx_nand>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -186,39 +219,6 @@
|
||||||
reg = <0x7b00000 0x500000>;
|
reg = <0x7b00000 0x500000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
regulators {
|
|
||||||
compatible = "simple-bus";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
pinctrl-0 = <&pmx_power_sata0 &pmx_power_sata1>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
|
|
||||||
sata0_power: regulator@1 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
reg = <1>;
|
|
||||||
regulator-name = "SATA0 Power";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
enable-active-high;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
gpio = <&gpio1 7 0>;
|
|
||||||
};
|
|
||||||
sata1_power: regulator@2 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
reg = <2>;
|
|
||||||
regulator-name = "SATA1 Power";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
enable-active-high;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
gpio = <&gpio1 8 0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -34,26 +34,6 @@
|
||||||
serial@12000 {
|
serial@12000 {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x0100000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@500000 {
|
|
||||||
label = "data";
|
|
||||||
reg = <0x0500000 0xfb00000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
gpio-leds {
|
gpio-leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
@ -91,6 +71,26 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x0100000 0x400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@500000 {
|
||||||
|
label = "data";
|
||||||
|
reg = <0x0500000 0xfb00000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -67,31 +67,6 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
chip-delay = <40>;
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x0100000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@500000 {
|
|
||||||
label = "pogoplug";
|
|
||||||
reg = <0x0500000 0x2000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@2500000 {
|
|
||||||
label = "root";
|
|
||||||
reg = <0x02500000 0xd800000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
sata@80000 {
|
sata@80000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <2>;
|
nr-ports = <2>;
|
||||||
|
@ -171,6 +146,32 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
chip-delay = <40>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x0100000 0x400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@500000 {
|
||||||
|
label = "pogoplug";
|
||||||
|
reg = <0x0500000 0x2000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@2500000 {
|
||||||
|
label = "root";
|
||||||
|
reg = <0x02500000 0xd800000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -40,26 +40,6 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x00000000 0x00100000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x00100000 0x00400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@500000 {
|
|
||||||
label = "data";
|
|
||||||
reg = <0x00500000 0x1fb00000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sata@80000 {
|
sata@80000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <1>;
|
nr-ports = <1>;
|
||||||
|
@ -97,6 +77,26 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x00000000 0x00100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x00100000 0x00400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@500000 {
|
||||||
|
label = "data";
|
||||||
|
reg = <0x00500000 0x1fb00000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
marvell,function = "gpio";
|
marvell,function = "gpio";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
serial@12000 {
|
serial@12000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -51,28 +52,6 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <2>;
|
nr-ports = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-0 = <&pmx_nand>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x0100000 0x600000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@700000 {
|
|
||||||
label = "root";
|
|
||||||
reg = <0x0700000 0xf900000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
|
@ -93,6 +72,7 @@
|
||||||
gpios = <&gpio0 28 1>;
|
gpios = <&gpio0 28 1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-leds {
|
gpio-leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
|
pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
|
||||||
|
@ -113,13 +93,39 @@
|
||||||
gpios = <&gpio0 27 0>;
|
gpios = <&gpio0 27 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_poweroff {
|
gpio_poweroff {
|
||||||
compatible = "gpio-poweroff";
|
compatible = "gpio-poweroff";
|
||||||
pinctrl-0 = <&pmx_power_off>;
|
pinctrl-0 = <&pmx_power_off>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
gpios = <&gpio0 24 0>;
|
gpios = <&gpio0 24 0>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&pmx_nand>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0xe0000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@e0000 {
|
||||||
|
label = "u-boot environment";
|
||||||
|
reg = <0xe0000 0x100000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x0100000 0x600000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@700000 {
|
||||||
|
label = "root";
|
||||||
|
reg = <0x0700000 0xf900000>;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -134,6 +140,7 @@
|
||||||
|
|
||||||
ð0 {
|
ð0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
ethernet0-port@0 {
|
ethernet0-port@0 {
|
||||||
phy-handle = <ðphy0>;
|
phy-handle = <ðphy0>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
@ -83,35 +82,6 @@
|
||||||
serial@12000 {
|
serial@12000 {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "uboot";
|
|
||||||
reg = <0x0000000 0xc0000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@a0000 {
|
|
||||||
label = "env";
|
|
||||||
reg = <0xa0000 0x20000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "zImage";
|
|
||||||
reg = <0x100000 0x300000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@540000 {
|
|
||||||
label = "initrd";
|
|
||||||
reg = <0x540000 0x300000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@980000 {
|
|
||||||
label = "boot";
|
|
||||||
reg = <0x980000 0x1f400000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-leds {
|
gpio-leds {
|
||||||
|
@ -180,6 +150,35 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "uboot";
|
||||||
|
reg = <0x0000000 0xc0000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@a0000 {
|
||||||
|
label = "env";
|
||||||
|
reg = <0xa0000 0x20000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "zImage";
|
||||||
|
reg = <0x100000 0x300000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@540000 {
|
||||||
|
label = "initrd";
|
||||||
|
reg = <0x540000 0x300000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@980000 {
|
||||||
|
label = "boot";
|
||||||
|
reg = <0x980000 0x1f400000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -113,31 +113,6 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@a0000 {
|
|
||||||
label = "env";
|
|
||||||
reg = <0xa0000 0x20000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x100000 0x300000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@400000 {
|
|
||||||
label = "uInitrd";
|
|
||||||
reg = <0x540000 0x1000000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
sata@80000 {
|
sata@80000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <2>;
|
nr-ports = <2>;
|
||||||
|
@ -195,6 +170,32 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@a0000 {
|
||||||
|
label = "env";
|
||||||
|
reg = <0xa0000 0x20000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x100000 0x300000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@400000 {
|
||||||
|
label = "uInitrd";
|
||||||
|
reg = <0x540000 0x1000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -34,13 +34,6 @@
|
||||||
serial@12000 {
|
serial@12000 {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
pinctrl-0 = <&pmx_nand>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
status = "ok";
|
|
||||||
chip-delay = <25>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c@0 {
|
i2c@0 {
|
||||||
|
@ -51,6 +44,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
pinctrl-0 = <&pmx_nand>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "ok";
|
||||||
|
chip-delay = <25>;
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
@ -96,37 +95,6 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
pinctrl-0 = <&pmx_nand>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "uboot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "env";
|
|
||||||
reg = <0x100000 0x80000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@180000 {
|
|
||||||
label = "fdt";
|
|
||||||
reg = <0x180000 0x80000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@200000 {
|
|
||||||
label = "kernel";
|
|
||||||
reg = <0x200000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@600000 {
|
|
||||||
label = "rootfs";
|
|
||||||
reg = <0x600000 0x1fa00000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
rtc@10300 {
|
rtc@10300 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
@ -194,6 +162,37 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
pinctrl-0 = <&pmx_nand>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "uboot";
|
||||||
|
reg = <0x0000000 0x100000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "env";
|
||||||
|
reg = <0x100000 0x80000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@180000 {
|
||||||
|
label = "fdt";
|
||||||
|
reg = <0x180000 0x80000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@200000 {
|
||||||
|
label = "kernel";
|
||||||
|
reg = <0x200000 0x400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@600000 {
|
||||||
|
label = "rootfs";
|
||||||
|
reg = <0x600000 0x1fa00000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
@ -98,36 +97,6 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x180000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@180000 {
|
|
||||||
label = "u-boot-env";
|
|
||||||
reg = <0x180000 0x20000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@200000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x0200000 0x600000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@800000 {
|
|
||||||
label = "minirootfs";
|
|
||||||
reg = <0x0800000 0x1000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@1800000 {
|
|
||||||
label = "jffs2";
|
|
||||||
reg = <0x1800000 0x6800000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sata@80000 {
|
sata@80000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <2>;
|
nr-ports = <2>;
|
||||||
|
@ -208,6 +177,36 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x180000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@180000 {
|
||||||
|
label = "u-boot-env";
|
||||||
|
reg = <0x180000 0x20000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@200000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x0200000 0x600000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@800000 {
|
||||||
|
label = "minirootfs";
|
||||||
|
reg = <0x0800000 0x1000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@1800000 {
|
||||||
|
label = "jffs2";
|
||||||
|
reg = <0x1800000 0x6800000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,43 @@
|
||||||
nr-ports = <2>;
|
nr-ports = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
pcie-controller {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
pcie@1,0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio_poweroff {
|
||||||
|
compatible = "gpio-poweroff";
|
||||||
|
pinctrl-0 = <&pmx_pwr_off>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
gpios = <&gpio1 16 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
regulators {
|
||||||
|
compatible = "simple-bus";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
pinctrl-0 = <&pmx_usb_power_off>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
usb0_power_off: regulator@1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <1>;
|
||||||
|
regulator-name = "USB Power Off";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
gpio = <&gpio0 21 0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
chip-delay = <35>;
|
chip-delay = <35>;
|
||||||
|
|
||||||
|
@ -69,39 +105,3 @@
|
||||||
reg = <0x5040000 0x2fc0000>;
|
reg = <0x5040000 0x2fc0000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie-controller {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
pcie@1,0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio_poweroff {
|
|
||||||
compatible = "gpio-poweroff";
|
|
||||||
pinctrl-0 = <&pmx_pwr_off>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
gpios = <&gpio1 16 0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
regulators {
|
|
||||||
compatible = "simple-bus";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
pinctrl-0 = <&pmx_usb_power_off>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
|
|
||||||
usb0_power_off: regulator@1 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
reg = <1>;
|
|
||||||
regulator-name = "USB Power Off";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-boot-on;
|
|
||||||
gpio = <&gpio0 21 0>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -29,43 +29,6 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
chip-delay = <25>;
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-0 = <&pmx_nand>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "uboot";
|
|
||||||
reg = <0x0 0x90000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@90000 {
|
|
||||||
label = "env";
|
|
||||||
reg = <0x90000 0x44000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@d4000 {
|
|
||||||
label = "test";
|
|
||||||
reg = <0xd4000 0x24000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@f4000 {
|
|
||||||
label = "conf";
|
|
||||||
reg = <0xf4000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@4f4000 {
|
|
||||||
label = "linux";
|
|
||||||
reg = <0x4f4000 0x1d20000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@2214000 {
|
|
||||||
label = "user";
|
|
||||||
reg = <0x2214000 0x1dec000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sata@80000 {
|
sata@80000 {
|
||||||
nr-ports = <1>;
|
nr-ports = <1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -167,6 +130,43 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
chip-delay = <25>;
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&pmx_nand>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "uboot";
|
||||||
|
reg = <0x0 0x90000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@90000 {
|
||||||
|
label = "env";
|
||||||
|
reg = <0x90000 0x44000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@d4000 {
|
||||||
|
label = "test";
|
||||||
|
reg = <0xd4000 0x24000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@f4000 {
|
||||||
|
label = "conf";
|
||||||
|
reg = <0xf4000 0x400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@4f4000 {
|
||||||
|
label = "linux";
|
||||||
|
reg = <0x4f4000 0x1d20000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@2214000 {
|
||||||
|
label = "user";
|
||||||
|
reg = <0x2214000 0x1dec000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -48,27 +48,6 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
pinctrl-0 = <&pmx_nand>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x100000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@100000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x0100000 0x400000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@500000 {
|
|
||||||
label = "root";
|
|
||||||
reg = <0x0500000 0x1fb00000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
|
@ -92,6 +71,27 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
pinctrl-0 = <&pmx_nand>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x100000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@100000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x0100000 0x400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@500000 {
|
||||||
|
label = "root";
|
||||||
|
reg = <0x0500000 0x1fb00000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -90,37 +90,6 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
status = "okay";
|
|
||||||
pinctrl-0 = <&pmx_nand>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
|
|
||||||
partition@0 {
|
|
||||||
label = "u-boot";
|
|
||||||
reg = <0x0000000 0x180000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@180000 {
|
|
||||||
label = "u-boot env";
|
|
||||||
reg = <0x0180000 0x20000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@200000 {
|
|
||||||
label = "uImage";
|
|
||||||
reg = <0x0200000 0x600000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@800000 {
|
|
||||||
label = "uInitrd";
|
|
||||||
reg = <0x0800000 0x1000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@1800000 {
|
|
||||||
label = "rootfs";
|
|
||||||
reg = <0x1800000 0xe800000>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sata@80000 {
|
sata@80000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <1>;
|
nr-ports = <1>;
|
||||||
|
@ -204,6 +173,37 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&nand {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-0 = <&pmx_nand>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
partition@0 {
|
||||||
|
label = "u-boot";
|
||||||
|
reg = <0x0000000 0x180000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@180000 {
|
||||||
|
label = "u-boot env";
|
||||||
|
reg = <0x0180000 0x20000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@200000 {
|
||||||
|
label = "uImage";
|
||||||
|
reg = <0x0200000 0x600000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@800000 {
|
||||||
|
label = "uInitrd";
|
||||||
|
reg = <0x0800000 0x1000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@1800000 {
|
||||||
|
label = "rootfs";
|
||||||
|
reg = <0x1800000 0xe800000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
mbus {
|
mbus {
|
||||||
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
|
|
||||||
pcie-controller {
|
pcie-controller {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -27,16 +27,43 @@
|
||||||
compatible = "marvell,kirkwood-mbus", "simple-bus";
|
compatible = "marvell,kirkwood-mbus", "simple-bus";
|
||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
/* If a board file needs to change this ranges it must replace it completely */
|
||||||
|
ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 /* internal-regs */
|
||||||
|
MBUS_ID(0x01, 0x2f) 0 0xf4000000 0x10000 /* nand flash */
|
||||||
|
MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000 /* crypto sram */
|
||||||
|
>;
|
||||||
controller = <&mbusc>;
|
controller = <&mbusc>;
|
||||||
pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
|
pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
|
||||||
pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
|
pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
|
||||||
|
|
||||||
|
crypto@0301 {
|
||||||
|
compatible = "marvell,orion-crypto";
|
||||||
|
reg = <MBUS_ID(0xf0, 0x01) 0x30000 0x10000>,
|
||||||
|
<MBUS_ID(0x03, 0x01) 0 0x800>;
|
||||||
|
reg-names = "regs", "sram";
|
||||||
|
interrupts = <22>;
|
||||||
|
clocks = <&gate_clk 17>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
nand: nand@012f {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
cle = <0>;
|
||||||
|
ale = <1>;
|
||||||
|
bank-width = <1>;
|
||||||
|
compatible = "marvell,orion-nand";
|
||||||
|
reg = <MBUS_ID(0x01, 0x2f) 0 0x400>;
|
||||||
|
chip-delay = <25>;
|
||||||
|
/* set partition map and/or chip-delay in board dts */
|
||||||
|
clocks = <&gate_clk 7>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ocp@f1000000 {
|
ocp@f1000000 {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
ranges = <0x00000000 0xf1000000 0x0100000
|
ranges = <0x00000000 0xf1000000 0x0100000>;
|
||||||
0xf4000000 0xf4000000 0x0000400
|
|
||||||
0xf5000000 0xf5000000 0x0000400>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
@ -192,20 +219,6 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
nand@3000000 {
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
cle = <0>;
|
|
||||||
ale = <1>;
|
|
||||||
bank-width = <1>;
|
|
||||||
compatible = "marvell,orion-nand";
|
|
||||||
reg = <0xf4000000 0x400>;
|
|
||||||
chip-delay = <25>;
|
|
||||||
/* set partition map and/or chip-delay in board dts */
|
|
||||||
clocks = <&gate_clk 7>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
i2c@11000 {
|
i2c@11000 {
|
||||||
compatible = "marvell,mv64xxx-i2c";
|
compatible = "marvell,mv64xxx-i2c";
|
||||||
reg = <0x11000 0x20>;
|
reg = <0x11000 0x20>;
|
||||||
|
@ -217,16 +230,6 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
crypto@30000 {
|
|
||||||
compatible = "marvell,orion-crypto";
|
|
||||||
reg = <0x30000 0x10000>,
|
|
||||||
<0xf5000000 0x800>;
|
|
||||||
reg-names = "regs", "sram";
|
|
||||||
interrupts = <22>;
|
|
||||||
clocks = <&gate_clk 17>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
mdio: mdio-bus@72004 {
|
mdio: mdio-bus@72004 {
|
||||||
compatible = "marvell,orion-mdio";
|
compatible = "marvell,orion-mdio";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
|
@ -92,7 +92,6 @@ static void __init kirkwood_dt_init(void)
|
||||||
writel(readl(CPU_CONFIG) & ~CPU_CONFIG_ERROR_PROP, CPU_CONFIG);
|
writel(readl(CPU_CONFIG) & ~CPU_CONFIG_ERROR_PROP, CPU_CONFIG);
|
||||||
|
|
||||||
BUG_ON(mvebu_mbus_dt_init());
|
BUG_ON(mvebu_mbus_dt_init());
|
||||||
kirkwood_setup_wins();
|
|
||||||
|
|
||||||
kirkwood_l2_init();
|
kirkwood_l2_init();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue