-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openamp-xlnx: Parse non-dedicated IPIs for OpenAMP channels #1
Changes from 1 commit
583f68a
a579ddd
ba92fba
9e92246
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ | |
#size-cells = <0x2>; | ||
model = "Xilinx Versal A2197 Processor board revA"; | ||
|
||
|
||
|
||
cpus { | ||
#address-cells = <0x1>; | ||
#size-cells = <0x0>; | ||
|
@@ -54,6 +56,30 @@ | |
}; | ||
}; | ||
}; | ||
ps_ipi_1 { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I recall feedback that if there's a reg property in the node, the name should include the unit address, i.e. https://elinux.org/Device_Tree_Usage#Node_Names If so, should we add some @ to these ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added unit address to name in later commit. |
||
compatible = "ps-interrupt"; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
reg = <0xFF340000 0x1000>; | ||
}; | ||
ps_ipi_2 { | ||
compatible = "ps-interrupt"; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
reg = <0xFF350000 0x1000>; | ||
}; | ||
ps_ipi_3 { | ||
compatible = "ps-interrupt"; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
reg = <0xFF360000 0x1000>; | ||
}; | ||
ps_ipi_4 { | ||
compatible = "ps-interrupt"; | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
reg = <0xFF370000 0x1000>; | ||
}; | ||
|
||
cpus_r5: cpus-cluster@0 { | ||
#address-cells = <0x1>; | ||
|
@@ -68,7 +94,8 @@ | |
<0xf9000000 &amba_rpu 0xf9000000 0x10000>, | ||
<0x0 &memory 0x0 0x80000000>, | ||
<0x0 &tcm 0xFFE90000 0x10000>; | ||
|
||
// <0x0 &ps_ipi_0 0xFF340000 0x1000>, | ||
// <0x0 &ps_ipi_1 0xFF350000 0x1000>; | ||
cpu@0 { | ||
compatible = "arm,cortex-r5"; | ||
device_type = "cpu"; | ||
|
@@ -188,7 +215,6 @@ | |
reg = <0x0 0xf9000000 0x0 0x1000 0x0 0xf9000000 0x0 0x100>; | ||
}; | ||
}; | ||
|
||
amba: bus@f1000000 { | ||
compatible = "simple-bus"; | ||
#address-cells = <0x2>; | ||
|
@@ -787,6 +813,7 @@ | |
*/ | ||
access = <&tcm 0x1>, <ðernet0 0x0>; | ||
|
||
//ipis = <&ps_ipi_0 0x0>, <&ps_ipi_1 0x1>; | ||
chosen { | ||
bootargs = "console=ttyAMA0"; | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ben, Do we think that the filename might vary ? In that case, this can be the default and we could check the options dictionary in the assist callback for a filename. That way it could passed via a lop file and changed if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point. added option to set file name via input r5 lop file in later commit