forked from Xilinx/device-tree-xlnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds new driver cpu_cortexa53 to support ZynqMP. Signed-off-by: Naga Sureshkumar Relli <[email protected]>
- Loading branch information
Naga Sureshkumar Relli
committed
Oct 15, 2015
1 parent
eb36ad7
commit 7e83682
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# (C) Copyright 2014-2015 Xilinx, Inc. | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License as | ||
# published by the Free Software Foundation; either version 2 of | ||
# the License, or (at your option) any later version. | ||
# | ||
# 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. | ||
# | ||
|
||
OPTION psf_version = 3.0; | ||
|
||
BEGIN driver cpu_cortexa53 | ||
|
||
OPTION driver_state = ACTIVE; | ||
OPTION supported_peripherals = (psu_cortexa53); | ||
OPTION supported_os_types = (DTS); | ||
OPTION NAME = cpu_cortexa53; | ||
|
||
END driver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# (C) Copyright 2014-2015 Xilinx, Inc. | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License as | ||
# published by the Free Software Foundation; either version 2 of | ||
# the License, or (at your option) any later version. | ||
# | ||
# 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. | ||
# | ||
|
||
proc generate {drv_handle} { | ||
global dtsi_fname | ||
set dtsi_fname "zynqmp/zynqmp.dtsi" | ||
|
||
foreach i [get_sw_cores device_tree] { | ||
set common_tcl_file "[get_property "REPOSITORY" $i]/data/common_proc.tcl" | ||
if {[file exists $common_tcl_file]} { | ||
source $common_tcl_file | ||
break | ||
} | ||
} | ||
|
||
# create root node | ||
set master_root_node [gen_root_node $drv_handle] | ||
set nodes [gen_cpu_nodes $drv_handle] | ||
} |