Heiko Stuebner | d63dc05 | 2013-06-02 23:09:41 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree support for Rockchip SoCs |
| 3 | * |
| 4 | * Copyright (c) 2013 MundoReader S.L. |
| 5 | * Author: Heiko Stuebner <heiko@sntech.de> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | */ |
| 17 | |
| 18 | #include <linux/kernel.h> |
| 19 | #include <linux/init.h> |
| 20 | #include <linux/of_platform.h> |
| 21 | #include <linux/irqchip.h> |
Heiko Stuebner | d63dc05 | 2013-06-02 23:09:41 +0200 | [diff] [blame] | 22 | #include <asm/mach/arch.h> |
| 23 | #include <asm/mach/map.h> |
| 24 | #include <asm/hardware/cache-l2x0.h> |
Heiko Stuebner | a7a2b31 | 2013-06-17 22:29:23 +0200 | [diff] [blame] | 25 | #include "core.h" |
Heiko Stuebner | d63dc05 | 2013-06-02 23:09:41 +0200 | [diff] [blame] | 26 | |
Heiko Stuebner | d63dc05 | 2013-06-02 23:09:41 +0200 | [diff] [blame] | 27 | static const char * const rockchip_board_dt_compat[] = { |
| 28 | "rockchip,rk2928", |
| 29 | "rockchip,rk3066a", |
| 30 | "rockchip,rk3066b", |
| 31 | "rockchip,rk3188", |
Heiko Stuebner | 7a1917a | 2014-06-28 20:13:42 +0200 | [diff] [blame^] | 32 | "rockchip,rk3288", |
Heiko Stuebner | d63dc05 | 2013-06-02 23:09:41 +0200 | [diff] [blame] | 33 | NULL, |
| 34 | }; |
| 35 | |
| 36 | DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)") |
Russell King | 2a2d2ff | 2014-04-28 15:27:59 +0100 | [diff] [blame] | 37 | .l2c_aux_val = 0, |
| 38 | .l2c_aux_mask = ~0, |
Heiko Stuebner | d63dc05 | 2013-06-02 23:09:41 +0200 | [diff] [blame] | 39 | .dt_compat = rockchip_board_dt_compat, |
| 40 | MACHINE_END |