if (!bridge)
                return -ENOMEM;
 
+       pp->bridge = bridge;
+
        /* Get the I/O and memory ranges from DT */
        resource_list_for_each_entry(win, &bridge->windows) {
                switch (resource_type(win->res)) {
                }
        }
 
+       /* Set default bus ops */
+       bridge->ops = &dw_pcie_ops;
+       bridge->child_ops = &dw_pcie_ops;
+
        if (pp->ops->host_init) {
                ret = pp->ops->host_init(pp);
                if (ret)
        }
 
        bridge->sysdata = pp;
-       bridge->ops = &dw_pcie_ops;
 
        ret = pci_scan_root_bus_bridge(bridge);
        if (ret)
        dw_pcie_writel_dbi(pci, PCI_COMMAND, val);
 
        /*
-        * If the platform provides ->rd_other_conf, it means the platform
-        * uses its own address translation component rather than ATU, so
-        * we should not program the ATU here.
+        * If the platform provides its own child bus config accesses, it means
+        * the platform uses its own address translation component rather than
+        * ATU, so we should not program the ATU here.
         */
-       if (!pp->ops->rd_other_conf) {
+       if (pp->bridge->child_ops == &dw_pcie_ops && !pp->ops->rd_other_conf) {
                dw_pcie_prog_outbound_atu(pci, PCIE_ATU_REGION_INDEX0,
                                          PCIE_ATU_TYPE_MEM, pp->mem_base,
                                          pp->mem_bus_addr, pp->mem_size);