Lines Matching +full:armadaxp +full:- +full:gpio

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 1994-1998 Mark Brinicombe.
126 * for all A38x-based platforms only. in mv_busdma_tag_init()
128 if ((node = OF_finddevice("/")) == -1){ in mv_busdma_tag_init()
171 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init()
177 if ((node = OF_finddevice("/")) == -1) in platform_mpp_init()
180 if ((node = fdt_find_compatible(node, "simple-bus", 0)) == 0) in platform_mpp_init()
186 * first-stage loader and try to continue booting. in platform_mpp_init()
209 * Process 'pin-count' and 'pin-map' props. in platform_mpp_init()
211 if (OF_getencprop(node, "pin-count", &pin_count, sizeof(pin_count)) <= 0) in platform_mpp_init()
216 if (OF_getencprop(node, "#pin-cells", &pin_cells, sizeof(pin_cells)) <= 0) in platform_mpp_init()
223 len = OF_getencprop(node, "pin-map", pinmap, sizeof(pinmap)); in platform_mpp_init()
233 * the 'pin-map' property are defaulted to 0 function i.e. GPIO. in platform_mpp_init()
252 if (i + j == pin_count - 1) in platform_mpp_init()
284 if ((node = OF_finddevice("soc")) != -1) in mv_platform_probe_and_attach()
285 if (ofw_bus_node_is_compatible(node, "simple-bus")) in mv_platform_probe_and_attach()
290 if ((node = OF_finddevice("/")) == -1) in mv_platform_probe_and_attach()
293 if ((node = fdt_find_compatible(node, "simple-bus", 0)) == 0) in mv_platform_probe_and_attach()
313 * Re-initialise MPP. It is important to call this prior to using in mv_platform_gpio_init()
325 * Re-initialise decode windows in mv_a38x_platform_late_init()
331 printf("WARNING: could not re-initialise decode windows! " in mv_a38x_platform_late_init()
339 * between Cortex-A9 CPUs and on-chip devices that may in mv_a38x_platform_late_init()
354 /* Open window to bootROM memory - needed for SMP */ in mv_a38x_platform_late_init()
365 * Re-initialise decode windows in mv_axp_platform_late_init()
368 printf("WARNING: could not re-initialise decode windows! " in mv_axp_platform_late_init()
370 if ((node = OF_finddevice("/")) == -1) in mv_axp_platform_late_init()
393 * Construct devmap table with DT-derived config data.
404 if ((root = OF_finddevice("/")) == -1) in mv_a38x_platform_devmap_init()
452 * Acquire SoC registers' base passed by u-boot and fill devmap in mv_axp_platform_devmap_init()
509 FDT_PLATFORM_DEF(mv_axp, "mv_axp", 0, "marvell,armadaxp", 100);