Lines Matching full:apbmisc
127 { .compatible = "nvidia,tegra20-apbmisc", },
166 static void tegra_init_apbmisc_resources(struct resource *apbmisc, in tegra_init_apbmisc_resources() argument
171 apbmisc_base = ioremap(apbmisc->start, resource_size(apbmisc)); in tegra_init_apbmisc_resources()
175 pr_err("failed to map APBMISC registers\n"); in tegra_init_apbmisc_resources()
187 * tegra_init_apbmisc - Initializes Tegra APBMISC and Strapping registers.
190 * information from the APBMISC registers very early during boot.
194 struct resource apbmisc, straps; in tegra_init_apbmisc() local
202 * an APBMISC node. in tegra_init_apbmisc()
205 * that didn't contain an APBMISC node. in tegra_init_apbmisc()
208 /* APBMISC registers (chip revision, ...) */ in tegra_init_apbmisc()
209 apbmisc.start = 0x70000800; in tegra_init_apbmisc()
210 apbmisc.end = 0x70000863; in tegra_init_apbmisc()
211 apbmisc.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
224 pr_warn("Using APBMISC region %pR\n", &apbmisc); in tegra_init_apbmisc()
239 if (of_address_to_resource(np, 0, &apbmisc) < 0) { in tegra_init_apbmisc()
240 pr_err("failed to get APBMISC registers\n"); in tegra_init_apbmisc()
250 tegra_init_apbmisc_resources(&apbmisc, &straps); in tegra_init_apbmisc()
280 pr_err("failed to get APBMISC memory resources"); in tegra_acpi_init_apbmisc()
287 * resources[0]: apbmisc. in tegra_acpi_init_apbmisc()
298 pr_err("failed to get APBMISC registers\n"); in tegra_acpi_init_apbmisc()