Lines Matching refs:fa_node

98 	return (OF_is_compatible(faa->fa_node, "brcm,bcm2835-aux-uart") ||  in com_fdt_match()
99 OF_is_compatible(faa->fa_node, "marvell,armada-38x-uart") || in com_fdt_match()
100 OF_is_compatible(faa->fa_node, "mediatek,mt6577-uart") || in com_fdt_match()
101 OF_is_compatible(faa->fa_node, "ns16550a") || in com_fdt_match()
102 OF_is_compatible(faa->fa_node, "snps,dw-apb-uart") || in com_fdt_match()
103 OF_is_compatible(faa->fa_node, "ti,omap3-uart") || in com_fdt_match()
104 OF_is_compatible(faa->fa_node, "ti,omap4-uart")); in com_fdt_match()
118 clock_enable(faa->fa_node, NULL); in com_fdt_attach()
119 reset_deassert_all(faa->fa_node); in com_fdt_attach()
126 freq = OF_getpropint(faa->fa_node, "clock-frequency", 0); in com_fdt_attach()
128 freq = clock_get_frequency(faa->fa_node, NULL); in com_fdt_attach()
135 if (OF_is_compatible(faa->fa_node, "ns16550a")) { in com_fdt_attach()
143 sc->sc_reg_width = OF_getpropint(faa->fa_node, "reg-io-width", width); in com_fdt_attach()
144 sc->sc_reg_shift = OF_getpropint(faa->fa_node, "reg-shift", shift); in com_fdt_attach()
146 if (OF_is_compatible(faa->fa_node, "mediatek,mt6577-uart")) in com_fdt_attach()
149 if (OF_is_compatible(faa->fa_node, "snps,dw-apb-uart") || in com_fdt_attach()
150 OF_is_compatible(faa->fa_node, "marvell,armada-38x-uart")) { in com_fdt_attach()
155 if (OF_is_compatible(faa->fa_node, "ti,omap3-uart") || in com_fdt_attach()
156 OF_is_compatible(faa->fa_node, "ti,omap4-uart")) in com_fdt_attach()
159 if (stdout_node == faa->fa_node) { in com_fdt_attach()
172 pinctrl_byname(faa->fa_node, "default"); in com_fdt_attach()
176 fdt_intr_establish(faa->fa_node, IPL_TTY, intr, in com_fdt_attach()