1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 NVIDIA CORPORATION. All rights reserved.
8 #include <soc/tegra/common.h>
10 static const struct of_device_id tegra_machine_match
[] = {
11 { .compatible
= "nvidia,tegra20", },
12 { .compatible
= "nvidia,tegra30", },
13 { .compatible
= "nvidia,tegra114", },
14 { .compatible
= "nvidia,tegra124", },
15 { .compatible
= "nvidia,tegra132", },
16 { .compatible
= "nvidia,tegra210", },
20 bool soc_is_tegra(void)
22 const struct of_device_id
*match
;
23 struct device_node
*root
;
25 root
= of_find_node_by_path("/");
29 match
= of_match_node(tegra_machine_match
, root
);