Lines Matching defs:node
33 * This function gets GPIO bank node in DT.
34 * Returns node offset if status is okay in DT, else return 0
68 static int dt_set_gpio_config(void *fdt, int node, uint8_t status)
77 cuint = fdt_getprop(fdt, node, "pinmux", &len);
82 pinctrl_node = fdt_parent_offset(fdt, fdt_parent_offset(fdt, node));
87 slewrate = fdt_getprop(fdt, node, "slew-rate", NULL);
92 if (fdt_getprop(fdt, node, "bias-pull-up", NULL) != NULL) {
94 } else if (fdt_getprop(fdt, node, "bias-pull-down", NULL) != NULL) {
97 VERBOSE("No bias configured in node %d\n", node);
136 if (fdt_getprop(fdt, node, "drive-open-drain", NULL) != NULL) {
142 if (fdt_getprop(fdt, node, "output-high", NULL) != NULL) {
149 if (fdt_getprop(fdt, node, "output-low", NULL) != NULL) {
181 int dt_set_pinctrl_config(int node)
193 status = fdt_get_status(node);
198 cuint = fdt_getprop(fdt, node, "pinctrl-0", &lenp);