| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7786 Setup |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 8 | 9 | * Based on SH7785 Setup |
|---|
| 9 | 10 | * |
|---|
| 10 | 11 | * Copyright (C) 2007 Paul Mundt |
|---|
| 11 | | - * |
|---|
| 12 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 13 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 14 | | - * for more details. |
|---|
| 15 | 12 | */ |
|---|
| 16 | 13 | #include <linux/platform_device.h> |
|---|
| 17 | 14 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 26 | 23 | #include <linux/usb/ohci_pdriver.h> |
|---|
| 27 | 24 | #include <cpu/dma-register.h> |
|---|
| 28 | 25 | #include <asm/mmzone.h> |
|---|
| 26 | +#include <asm/platform_early.h> |
|---|
| 29 | 27 | |
|---|
| 30 | 28 | static struct plat_sci_port scif0_platform_data = { |
|---|
| 31 | 29 | .scscr = SCSCR_REIE | SCSCR_CKE1, |
|---|
| .. | .. |
|---|
| 393 | 391 | &tmu0_device, |
|---|
| 394 | 392 | &tmu1_device, |
|---|
| 395 | 393 | &tmu2_device, |
|---|
| 394 | + &tmu3_device, |
|---|
| 396 | 395 | }; |
|---|
| 397 | 396 | |
|---|
| 398 | 397 | static struct platform_device *sh7786_devices[] __initdata = { |
|---|
| .. | .. |
|---|
| 837 | 836 | |
|---|
| 838 | 837 | void __init plat_early_device_setup(void) |
|---|
| 839 | 838 | { |
|---|
| 840 | | - early_platform_add_devices(sh7786_early_devices, |
|---|
| 839 | + sh_early_platform_add_devices(sh7786_early_devices, |
|---|
| 841 | 840 | ARRAY_SIZE(sh7786_early_devices)); |
|---|
| 842 | 841 | } |
|---|