mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq40xx: Add edma config info to dts files
Change-Id: Ib30993cb637315d1c9967a1b5297e48101bb7e09 Signed-off-by: Akila N <akilan@codeaurora.org>
This commit is contained in:
parent
19737c0717
commit
d054154f3c
6 changed files with 128 additions and 0 deletions
|
|
@ -17,4 +17,41 @@
|
|||
machid = <0x8010000>;
|
||||
ddr_size = <256>;
|
||||
config_name = "config@ap.dk01.1-c1";
|
||||
|
||||
ess-switch@c000000{
|
||||
sw_gpio {
|
||||
gpio1 {
|
||||
gpio = <52>;
|
||||
func = <2>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_DISABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
|
||||
gpio2 {
|
||||
gpio = <53>;
|
||||
func = <2>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_DISABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
|
||||
gpio3 {
|
||||
gpio = <59>;
|
||||
func = <0>;
|
||||
pull = <GPIO_NO_PULL>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_ENABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,4 +18,42 @@
|
|||
ddr_size = <256>;
|
||||
spi_nand_available = <1>;
|
||||
config_name = "config@ap.dk01.1-c2";
|
||||
|
||||
ess-switch@c000000{
|
||||
sw_gpio {
|
||||
gpio1 {
|
||||
gpio = <52>;
|
||||
func = <2>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_DISABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
|
||||
gpio2 {
|
||||
gpio = <53>;
|
||||
func = <2>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_DISABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
|
||||
gpio3 {
|
||||
gpio = <62>;
|
||||
func = <0>;
|
||||
pull = <GPIO_NO_PULL>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_ENABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -45,5 +45,12 @@
|
|||
spi {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
edma_cfg {
|
||||
unit = <0>;
|
||||
/* Based on the enum for PSGMII phy interface from include/phy.h */
|
||||
phy = <13>;
|
||||
phy_name = "IPQ MDIO0";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -21,4 +21,41 @@
|
|||
sdhci@7824000 {
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
ess-switch@c000000{
|
||||
sw_gpio {
|
||||
gpio1 {
|
||||
gpio = <6>;
|
||||
func = <1>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_DISABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
|
||||
gpio2 {
|
||||
gpio = <7>;
|
||||
func = <1>;
|
||||
pull = <GPIO_PULL_UP>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_DISABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
|
||||
gpio3 {
|
||||
gpio = <47>;
|
||||
func = <0>;
|
||||
pull = <GPIO_PULL_DOWN>;
|
||||
drvstr = <GPIO_2MA>;
|
||||
oe = <GPIO_OE_ENABLE>;
|
||||
vm = <GPIO_VM_ENABLE>;
|
||||
od_en = <GPIO_OD_DISABLE>;
|
||||
pu_res = <GPIO_PULL_RES2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -407,5 +407,12 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
edma_cfg {
|
||||
unit = <0>;
|
||||
/* Based on the enum for PSGMII phy interface from include/phy.h */
|
||||
phy = <13>;
|
||||
phy_name = "IPQ MDIO0";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ typedef enum {
|
|||
PHY_INTERFACE_MODE_RGMII_TXID,
|
||||
PHY_INTERFACE_MODE_RTBI,
|
||||
PHY_INTERFACE_MODE_XGMII,
|
||||
PHY_INTERFACE_MODE_PSGMII,
|
||||
PHY_INTERFACE_MODE_NONE, /* Must be last */
|
||||
|
||||
PHY_INTERFACE_MODE_COUNT,
|
||||
|
|
@ -70,6 +71,7 @@ static const char *phy_interface_strings[] = {
|
|||
[PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid",
|
||||
[PHY_INTERFACE_MODE_RTBI] = "rtbi",
|
||||
[PHY_INTERFACE_MODE_XGMII] = "xgmii",
|
||||
[PHY_INTERFACE_MODE_PSGMII] = "psgmii",
|
||||
[PHY_INTERFACE_MODE_NONE] = "",
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue