Carlo Caione | 3b8f503 | 2014-09-10 22:16:59 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Carlo Caione <carlo@caione.org> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 12 | * more details. |
| 13 | * |
| 14 | */ |
| 15 | |
| 16 | #include <linux/of_platform.h> |
| 17 | #include <asm/mach/arch.h> |
| 18 | |
Beniamino Galvani | e790af6 | 2014-10-05 23:59:13 +0200 | [diff] [blame] | 19 | static const char * const meson_common_board_compat[] = { |
Carlo Caione | 3b8f503 | 2014-09-10 22:16:59 +0200 | [diff] [blame] | 20 | "amlogic,meson6", |
Beniamino Galvani | e790af6 | 2014-10-05 23:59:13 +0200 | [diff] [blame] | 21 | "amlogic,meson8", |
Carlo Caione | 55fa3ee | 2015-10-07 22:31:05 +0200 | [diff] [blame] | 22 | "amlogic,meson8b", |
Carlo Caione | 3b8f503 | 2014-09-10 22:16:59 +0200 | [diff] [blame] | 23 | NULL, |
| 24 | }; |
| 25 | |
Beniamino Galvani | e790af6 | 2014-10-05 23:59:13 +0200 | [diff] [blame] | 26 | DT_MACHINE_START(MESON, "Amlogic Meson platform") |
| 27 | .dt_compat = meson_common_board_compat, |
Beniamino Galvani | 6a4ccd9 | 2014-11-18 15:25:41 +0100 | [diff] [blame] | 28 | .l2c_aux_val = 0, |
| 29 | .l2c_aux_mask = ~0, |
Carlo Caione | 3b8f503 | 2014-09-10 22:16:59 +0200 | [diff] [blame] | 30 | MACHINE_END |