Merge git://git.denx.de/u-boot-marvell
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
|
||||
ð0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii_pins>;
|
||||
pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
|
||||
status = "okay";
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
@@ -100,6 +100,8 @@
|
||||
|
||||
&sdhci0 {
|
||||
bus-width = <4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdio_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -109,6 +111,8 @@
|
||||
mmc-ddr-1_8v;
|
||||
mmc-hs400-1_8v;
|
||||
marvell,pad-type = "fixed-1-8v";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc_pins>;
|
||||
status = "okay";
|
||||
|
||||
#address-cells = <1>;
|
||||
@@ -150,3 +154,11 @@
|
||||
&usb3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* CON17 */
|
||||
&pcie0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie_pins>;
|
||||
reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -89,6 +89,8 @@
|
||||
|
||||
ð0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
|
||||
phy-mode = "rgmii";
|
||||
phy_addr = <0x1>;
|
||||
fixed-link {
|
||||
@@ -98,6 +100,8 @@
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -108,6 +112,8 @@
|
||||
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi_quad_pins>;
|
||||
|
||||
spi-flash@0 {
|
||||
#address-cells = <1>;
|
||||
@@ -121,6 +127,8 @@
|
||||
|
||||
/* Exported on the micro USB connector CON32 through an FTDI */
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart1_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -133,3 +141,10 @@
|
||||
&usb3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie_pins>;
|
||||
reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/comphy/comphy_data.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Marvell Armada 37xx SoC";
|
||||
@@ -154,6 +155,11 @@
|
||||
groups = "uart2";
|
||||
function = "uart";
|
||||
};
|
||||
|
||||
mmc_pins: mmc-pins {
|
||||
groups = "emmc_nb";
|
||||
function = "emmc";
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_sb: pinctrl-sb@18800 {
|
||||
@@ -162,7 +168,7 @@
|
||||
reg = <0x18800 0x100>, <0x18C00 0x20>;
|
||||
gpiosb: gpiosb {
|
||||
#gpio-cells = <2>;
|
||||
gpio-ranges = <&pinctrl_sb 0 0 29>;
|
||||
gpio-ranges = <&pinctrl_sb 0 0 30>;
|
||||
gpio-controller;
|
||||
interrupts =
|
||||
<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
|
||||
@@ -177,6 +183,20 @@
|
||||
function = "mii";
|
||||
};
|
||||
|
||||
smi_pins: smi-pins {
|
||||
groups = "smi";
|
||||
function = "smi";
|
||||
};
|
||||
|
||||
sdio_pins: sdio-pins {
|
||||
groups = "sdio_sb";
|
||||
function = "sdio";
|
||||
};
|
||||
|
||||
pcie_pins: pcie-pins {
|
||||
groups = "pcie1";
|
||||
function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
usb3: usb@58000 {
|
||||
@@ -266,20 +286,6 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pinctl0: pinctl@13830 { /* north bridge */
|
||||
compatible = "marvell,armada-3700-pinctl";
|
||||
bank-name = "armada-3700-nb";
|
||||
reg = <0x13830 0x4>;
|
||||
pin-count = <36>;
|
||||
};
|
||||
|
||||
pinctl1: pinctl@18830 { /* south bridge */
|
||||
compatible = "marvell,armada-3700-pinctl";
|
||||
bank-name = "armada-3700-sb";
|
||||
reg = <0x18830 0x4>;
|
||||
pin-count = <30>;
|
||||
};
|
||||
|
||||
comphy: comphy@18300 {
|
||||
compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700";
|
||||
reg = <0x18300 0x28>,
|
||||
@@ -288,5 +294,21 @@
|
||||
max-lanes = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
pcie0: pcie@d0070000 {
|
||||
compatible = "marvell,armada-37xx-pcie";
|
||||
reg = <0 0xd0070000 0 0x20000>;
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
num-lanes = <1>;
|
||||
status = "disabled";
|
||||
|
||||
bus-range = <0 0xff>;
|
||||
ranges = <0x82000000 0 0xe8000000
|
||||
0 0xe8000000 0 0x1000000 /* Port 0 MEM */
|
||||
0x81000000 0 0xe9000000
|
||||
0 0xe9000000 0 0x10000>; /* Port 0 IO*/
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -45,6 +45,14 @@ static struct mm_region mvebu_mem_map[] = {
|
||||
.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
||||
PTE_BLOCK_NON_SHARE
|
||||
},
|
||||
{
|
||||
/* PCI regions */
|
||||
.phys = 0xe8000000UL,
|
||||
.virt = 0xe8000000UL,
|
||||
.size = 0x02000000UL, /* 32MiB master PCI space */
|
||||
.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
||||
PTE_BLOCK_NON_SHARE
|
||||
},
|
||||
{
|
||||
/* List terminator */
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user