36 lines
1021 B
C
36 lines
1021 B
C
|
|
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||
|
|
*
|
||
|
|
* This program is free software; you can redistribute it and/or modify
|
||
|
|
* it under the terms of the GNU General Public License version 2 and
|
||
|
|
* only version 2 as published by the Free Software Foundation.
|
||
|
|
*
|
||
|
|
* This program is distributed in the hope that it will be useful,
|
||
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
|
* GNU General Public License for more details.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <linux/kernel.h>
|
||
|
|
#include "board-dt.h"
|
||
|
|
#include <asm/mach/map.h>
|
||
|
|
#include <asm/mach/arch.h>
|
||
|
|
|
||
|
|
static const char *sdm429w_dt_match[] __initconst = {
|
||
|
|
"qcom,sdm429",
|
||
|
|
"qcom,sda429",
|
||
|
|
"qcom,sdm429w",
|
||
|
|
"qcom,sda429w",
|
||
|
|
NULL
|
||
|
|
};
|
||
|
|
|
||
|
|
static void __init sdm429w_init(void)
|
||
|
|
{
|
||
|
|
board_dt_populate(NULL);
|
||
|
|
}
|
||
|
|
|
||
|
|
DT_MACHINE_START(SDM429W_DT,
|
||
|
|
"Qualcomm Technologies, Inc. SDM429W (Flattened Device Tree)")
|
||
|
|
.init_machine = sdm429w_init,
|
||
|
|
.dt_compat = sdm429w_dt_match,
|
||
|
|
MACHINE_END
|