Lines Matching refs:np
59 struct device_node *np; in mpc5200_setup_xlb_arbiter() local
62 np = of_find_matching_node(NULL, mpc52xx_xlb_ids); in mpc5200_setup_xlb_arbiter()
63 xlb = of_iomap(np, 0); in mpc5200_setup_xlb_arbiter()
64 of_node_put(np); in mpc5200_setup_xlb_arbiter()
137 struct device_node *np; in mpc52xx_map_common_devices() local
143 for_each_matching_node(np, mpc52xx_gpt_ids) { in mpc52xx_map_common_devices()
144 if (of_get_property(np, "fsl,has-wdt", NULL) || in mpc52xx_map_common_devices()
145 of_get_property(np, "has-wdt", NULL)) { in mpc52xx_map_common_devices()
146 mpc52xx_wdt = of_iomap(np, 0); in mpc52xx_map_common_devices()
147 of_node_put(np); in mpc52xx_map_common_devices()
153 np = of_find_matching_node(NULL, mpc52xx_cdm_ids); in mpc52xx_map_common_devices()
154 mpc52xx_cdm = of_iomap(np, 0); in mpc52xx_map_common_devices()
155 of_node_put(np); in mpc52xx_map_common_devices()
158 np = of_find_matching_node(NULL, mpc52xx_gpio_simple); in mpc52xx_map_common_devices()
159 simple_gpio = of_iomap(np, 0); in mpc52xx_map_common_devices()
160 of_node_put(np); in mpc52xx_map_common_devices()
163 np = of_find_matching_node(NULL, mpc52xx_gpio_wkup); in mpc52xx_map_common_devices()
164 wkup_gpio = of_iomap(np, 0); in mpc52xx_map_common_devices()
165 of_node_put(np); in mpc52xx_map_common_devices()