Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion device_tree/data/common_proc.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ proc write_dt args {
}
}
if {[string match -nocase $dt "pldt"] && $dt_overlay} {
puts $fd "\/dts-v1\/\n\/plugin\/;"
puts $fd "\/dts-v1\/;\n\/plugin\/;"
}
set dtcheck [string match -nocase $dt "pcwdt"]
if {$dtcheck != 1} {
Expand Down
3 changes: 2 additions & 1 deletion intc/data/intc.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
set zocl [get_user_config $common_file -dt_zocl]
pldt append $node compatible "\ \, \"xlnx,xps-intc-1.00.a\""
add_prop $node "#interrupt-cells" 2 int "pl.dtsi"
add_prop $node "#address-cells" 2 int "pl.dtsi"
add_prop $node "interrupt-controller" boolean "pl.dtsi"
set ip [hsi::get_cells -hier $drv_handle]
set num_intr_inputs [get_ip_param_value $ip C_NUM_INTR_INPUTS]
Expand All @@ -49,7 +50,7 @@
add_prop $node "xlnx,kind-of-intr" $kind_of_intr hexint $dts_file 1
if {$zocl} {
set num_intr_inputs "0x20"
set_drv_prop $drv_handle "xlnx,num-intr-inputs" $num_intr_inputs $node int
set_drv_prop_if_empty $drv_handle "xlnx,num-intr-inputs" $num_intr_inputs $node int
} else {
set_drv_conf_prop $drv_handle C_NUM_INTR_INPUTS "xlnx,num-intr-inputs" $node
}
Expand Down