Commit 98ba8e80 authored by Michael Ellerman's avatar Michael Ellerman

Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next

Merge changes from Scott:
  Includes a couple of device tree fixes, a spelling fix, and leftover
  code cleanup.
parents 0695f8bc a76bea02
...@@ -210,13 +210,19 @@ sata@221000 { ...@@ -210,13 +210,19 @@ sata@221000 {
fman@400000 { fman@400000 {
ethernet@e0000 { ethernet@e0000 {
fixed-link = <0 1 1000 0 0>; phy-mode = "sgmii";
phy-connection-type = "sgmii"; fixed-link {
speed = <1000>;
full-duplex;
};
}; };
ethernet@e2000 { ethernet@e2000 {
fixed-link = <1 1 1000 0 0>; phy-mode = "sgmii";
phy-connection-type = "sgmii"; fixed-link {
speed = <1000>;
full-duplex;
};
}; };
ethernet@e4000 { ethernet@e4000 {
...@@ -229,7 +235,7 @@ ethernet@e6000 { ...@@ -229,7 +235,7 @@ ethernet@e6000 {
ethernet@e8000 { ethernet@e8000 {
phy-handle = <&front_phy>; phy-handle = <&front_phy>;
phy-connection-type = "rgmii"; phy-mode = "rgmii-id";
}; };
mdio0: mdio@fc000 { mdio0: mdio@fc000 {
...@@ -258,14 +264,50 @@ pcie@0 { ...@@ -258,14 +264,50 @@ pcie@0 {
pci1: pcie@ffe250000 { pci1: pcie@ffe250000 {
status = "disabled"; status = "disabled";
reg = <0xf 0xfe250000 0 0x10000>;
ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000
0x01000000 0 0 0xf 0xf8010000 0 0x00010000>;
pcie@0 {
ranges = <0x02000000 0 0xe0000000
0x02000000 0 0xe0000000
0 0x10000000
0x01000000 0 0x00000000
0x01000000 0 0x00000000
0 0x00010000>;
};
}; };
pci2: pcie@ffe260000 { pci2: pcie@ffe260000 {
status = "disabled"; status = "disabled";
reg = <0xf 0xfe260000 0 0x10000>;
ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000
0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
pcie@0 {
ranges = <0x02000000 0 0xe0000000
0x02000000 0 0xe0000000
0 0x10000000
0x01000000 0 0x00000000
0x01000000 0 0x00000000
0 0x00010000>;
};
}; };
pci3: pcie@ffe270000 { pci3: pcie@ffe270000 {
status = "disabled"; status = "disabled";
reg = <0xf 0xfe270000 0 0x10000>;
ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
pcie@0 {
ranges = <0x02000000 0 0xe0000000
0x02000000 0 0xe0000000
0 0x10000000
0x01000000 0 0x00000000
0x01000000 0 0x00000000
0 0x00010000>;
};
}; };
qe: qe@ffe140000 { qe: qe@ffe140000 {
......
...@@ -231,7 +231,7 @@ _GLOBAL(__setup_cpu_e5500) ...@@ -231,7 +231,7 @@ _GLOBAL(__setup_cpu_e5500)
blr blr
#endif #endif
/* flush L1 date cache, it can apply to e500v2, e500mc and e5500 */ /* flush L1 data cache, it can apply to e500v2, e500mc and e5500 */
_GLOBAL(flush_dcache_L1) _GLOBAL(flush_dcache_L1)
mfmsr r10 mfmsr r10
wrteei 0 wrteei 0
......
...@@ -86,29 +86,6 @@ void __init mpc85xx_cpm2_pic_init(void) ...@@ -86,29 +86,6 @@ void __init mpc85xx_cpm2_pic_init(void)
#endif #endif
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
void __init mpc85xx_qe_init(void)
{
struct device_node *np;
np = of_find_compatible_node(NULL, NULL, "fsl,qe");
if (!np) {
np = of_find_node_by_name(NULL, "qe");
if (!np) {
pr_err("%s: Could not find Quicc Engine node\n",
__func__);
return;
}
}
if (!of_device_is_available(np)) {
of_node_put(np);
return;
}
of_node_put(np);
}
void __init mpc85xx_qe_par_io_init(void) void __init mpc85xx_qe_par_io_init(void)
{ {
struct device_node *np; struct device_node *np;
......
...@@ -66,8 +66,6 @@ void __init corenet_gen_setup_arch(void) ...@@ -66,8 +66,6 @@ void __init corenet_gen_setup_arch(void)
swiotlb_detect_4g(); swiotlb_detect_4g();
pr_info("%s board\n", ppc_md.name); pr_info("%s board\n", ppc_md.name);
mpc85xx_qe_init();
} }
static const struct of_device_id of_device_ids[] = { static const struct of_device_id of_device_ids[] = {
......
...@@ -10,10 +10,8 @@ static inline void __init mpc85xx_cpm2_pic_init(void) {} ...@@ -10,10 +10,8 @@ static inline void __init mpc85xx_cpm2_pic_init(void) {}
#endif /* CONFIG_CPM2 */ #endif /* CONFIG_CPM2 */
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
extern void mpc85xx_qe_init(void);
extern void mpc85xx_qe_par_io_init(void); extern void mpc85xx_qe_par_io_init(void);
#else #else
static inline void __init mpc85xx_qe_init(void) {}
static inline void __init mpc85xx_qe_par_io_init(void) {} static inline void __init mpc85xx_qe_par_io_init(void) {}
#endif #endif
......
...@@ -238,7 +238,6 @@ static void __init mpc85xx_mds_qe_init(void) ...@@ -238,7 +238,6 @@ static void __init mpc85xx_mds_qe_init(void)
{ {
struct device_node *np; struct device_node *np;
mpc85xx_qe_init();
mpc85xx_qe_par_io_init(); mpc85xx_qe_par_io_init();
mpc85xx_mds_reset_ucc_phys(); mpc85xx_mds_reset_ucc_phys();
......
...@@ -89,7 +89,6 @@ static void __init mpc85xx_rdb_setup_arch(void) ...@@ -89,7 +89,6 @@ static void __init mpc85xx_rdb_setup_arch(void)
fsl_pci_assign_primary(); fsl_pci_assign_primary();
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
mpc85xx_qe_init();
mpc85xx_qe_par_io_init(); mpc85xx_qe_par_io_init();
#if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE) #if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE)
if (machine_is(p1025_rdb)) { if (machine_is(p1025_rdb)) {
......
...@@ -72,7 +72,6 @@ static void __init twr_p1025_setup_arch(void) ...@@ -72,7 +72,6 @@ static void __init twr_p1025_setup_arch(void)
fsl_pci_assign_primary(); fsl_pci_assign_primary();
#ifdef CONFIG_QUICC_ENGINE #ifdef CONFIG_QUICC_ENGINE
mpc85xx_qe_init();
mpc85xx_qe_par_io_init(); mpc85xx_qe_par_io_init();
#if IS_ENABLED(CONFIG_UCC_GETH) || IS_ENABLED(CONFIG_SERIAL_QE) #if IS_ENABLED(CONFIG_UCC_GETH) || IS_ENABLED(CONFIG_SERIAL_QE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment