Lines Matching +full:init +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0+
3 * Board init file for Dragonboard 410C
34 gd->ram_size = PHYS_SDRAM_1_SIZE; in dram_init()
41 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize()
42 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize()
47 int board_usb_init(int index, enum usb_init_type init) in board_usb_init() argument
63 /* Try to request gpios needed to start usb host on dragonboard */ in board_usb_init()
65 node = fdt_subnode_offset(gd->fdt_blob, in board_usb_init()
73 "gpios", 0, &hub_reset, 0); in board_usb_init()
81 node = fdt_subnode_offset(gd->fdt_blob, in board_usb_init()
89 "gpios", 0, &usb_sel, 0); in board_usb_init()
96 if (init == USB_INIT_HOST) { in board_usb_init()
115 /* Check for vol- button - if pressed - stop autoboot */
128 node = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(pon), in misc_init_r()
135 if (gpio_request_by_name_nodev(offset_to_ofnode(node), "gpios", 0, in misc_init_r()
142 env_set("bootdelay", "-1"); in misc_init_r()
144 printf("key_vol_down pressed - Starting fastboot.\n"); in misc_init_r()
182 do_fixup_by_compat(blob, "qcom,wcnss-wlan", in ft_board_setup()
183 "local-mac-address", mac, ARP_HLEN, 1); in ft_board_setup()
195 do_fixup_by_compat(blob, "qcom,wcnss-bt", in ft_board_setup()
196 "local-bd-address", mac, ARP_HLEN, 1); in ft_board_setup()