mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
This commit is contained in:
commit
668e309eff
8 changed files with 38 additions and 11 deletions
|
@ -418,7 +418,7 @@
|
|||
mmc-ddr-1_8v;
|
||||
mmc-hs200-1_8v;
|
||||
mmc-pwrseq = <&emmc_pwrseq>;
|
||||
cdns,phy-input-delay-legacy = <4>;
|
||||
cdns,phy-input-delay-legacy = <9>;
|
||||
cdns,phy-input-delay-mmc-highspeed = <2>;
|
||||
cdns,phy-input-delay-mmc-ddr = <3>;
|
||||
cdns,phy-dll-delay-sdclk = <21>;
|
||||
|
@ -553,10 +553,13 @@
|
|||
status = "disabled";
|
||||
reg = <0x65000000 0x8500>;
|
||||
interrupts = <0 66 4>;
|
||||
clock-names = "ether";
|
||||
clocks = <&sys_clk 6>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rmii";
|
||||
phy-mode = "internal";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio: mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -67,3 +67,11 @@
|
|||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl_ether_rgmii {
|
||||
tx {
|
||||
pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1",
|
||||
"RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL";
|
||||
drive-strength = <9>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -523,7 +523,7 @@
|
|||
mmc-ddr-1_8v;
|
||||
mmc-hs200-1_8v;
|
||||
mmc-pwrseq = <&emmc_pwrseq>;
|
||||
cdns,phy-input-delay-legacy = <4>;
|
||||
cdns,phy-input-delay-legacy = <9>;
|
||||
cdns,phy-input-delay-mmc-highspeed = <2>;
|
||||
cdns,phy-input-delay-mmc-ddr = <3>;
|
||||
cdns,phy-dll-delay-sdclk = <21>;
|
||||
|
@ -622,10 +622,13 @@
|
|||
interrupts = <0 66 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ether_rgmii>;
|
||||
clock-names = "ether";
|
||||
clocks = <&sys_clk 6>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio: mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -342,7 +342,7 @@
|
|||
has-transaction-translator;
|
||||
};
|
||||
|
||||
soc-glue@5f800000 {
|
||||
soc_glue: soc-glue@5f800000 {
|
||||
compatible = "socionext,uniphier-pro4-soc-glue",
|
||||
"simple-mfd", "syscon";
|
||||
reg = <0x5f800000 0x2000>;
|
||||
|
@ -427,10 +427,14 @@
|
|||
interrupts = <0 66 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ether_rgmii>;
|
||||
clocks = <&sys_clk 6>;
|
||||
resets = <&sys_rst 6>;
|
||||
clock-names = "gio", "ether", "ether-gb", "ether-phy";
|
||||
clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
|
||||
<&sys_clk 10>;
|
||||
reset-names = "gio", "ether";
|
||||
resets = <&sys_rst 12>, <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio: mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -545,10 +545,13 @@
|
|||
interrupts = <0 66 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ether_rgmii>;
|
||||
clock-names = "ether";
|
||||
clocks = <&sys_clk 6>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio: mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -338,7 +338,7 @@
|
|||
mmc-ddr-1_8v;
|
||||
mmc-hs200-1_8v;
|
||||
mmc-pwrseq = <&emmc_pwrseq>;
|
||||
cdns,phy-input-delay-legacy = <4>;
|
||||
cdns,phy-input-delay-legacy = <9>;
|
||||
cdns,phy-input-delay-mmc-highspeed = <2>;
|
||||
cdns,phy-input-delay-mmc-ddr = <3>;
|
||||
cdns,phy-dll-delay-sdclk = <21>;
|
||||
|
@ -430,10 +430,13 @@
|
|||
interrupts = <0 66 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ether_rgmii>;
|
||||
clock-names = "ether";
|
||||
clocks = <&sys_clk 6>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio0: mdio {
|
||||
#address-cells = <1>;
|
||||
|
@ -448,10 +451,13 @@
|
|||
interrupts = <0 67 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_ether1_rgmii>;
|
||||
clock-names = "ether";
|
||||
clocks = <&sys_clk 7>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 7>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 1>;
|
||||
|
||||
mdio1: mdio {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -38,7 +38,7 @@ static int uniphier_set_fdt_file(void)
|
|||
char dtb_name[256];
|
||||
int buf_len = sizeof(dtb_name);
|
||||
|
||||
if (env_get("fdt_file"))
|
||||
if (env_get("fdtfile"))
|
||||
return 0; /* do nothing if it is already set */
|
||||
|
||||
compat = fdt_stringlist_get(gd->fdt_blob, 0, "compatible", 0, NULL);
|
||||
|
@ -56,7 +56,7 @@ static int uniphier_set_fdt_file(void)
|
|||
|
||||
strncat(dtb_name, ".dtb", buf_len);
|
||||
|
||||
return env_set("fdt_file", dtb_name);
|
||||
return env_set("fdtfile", dtb_name);
|
||||
}
|
||||
|
||||
int board_late_init(void)
|
||||
|
|
|
@ -168,10 +168,10 @@
|
|||
"run boot_common\0" \
|
||||
"tftpboot=tftpboot $kernel_addr_load $bootfile && " \
|
||||
"tftpboot $ramdisk_addr_r $ramdisk_file &&" \
|
||||
"tftpboot $fdt_addr_r $fdt_file &&" \
|
||||
"tftpboot $fdt_addr_r $fdtfile &&" \
|
||||
"run boot_common\0" \
|
||||
"__nfsboot=tftpboot $kernel_addr_load $bootfile && " \
|
||||
"tftpboot $fdt_addr_r $fdt_file &&" \
|
||||
"tftpboot $fdt_addr_r $fdtfile &&" \
|
||||
"setenv ramdisk_addr_r - &&" \
|
||||
"run boot_common\0"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue