2-oxoglutarate (OG)- and Fe(II)-dependent dioxygenase (2OGD) involved in scopoletin and umbelliferone biosynthesis (By similarity). Converts feruloyl CoA into 6'-hydroxyferuloyl CoA, and p-coumaroyl CoA into 2,4-dihydroxycinnamoyl-CoA (By similarity). (E)-4-coumaroyl-CoA + 2-oxoglutarate + O2 = (E)-2,4-dihydroxycinnamoyl-CoA + CO2 + succinate (E)-feruloyl-CoA + 2-oxoglutarate + O2 = (E)-6-hydroxyferuloyl-CoA + CO2 + succinate Binds 1 Fe(2+) ion per subunit. Phenylpropanoid metabolism. Belongs to the iron/ascorbate-dependent oxidoreductase family.