dt-bindings: soc: altera: convert socfpga-system.txt to yaml
PATCH v3 1/1 dt-bindings: soc: altera: convert socfpga-system.txt to yaml
From: Niravkumar L Rabara <[email protected]>
Convert socfpga-system.txt to altr,socfpga-sys-mgr.yaml and move to soc directory.
Add platform names in description for clarity. ARM(32-bit) platforms Cyclone5, Arria5 and Arria10 is using "altr,sys-mgr" compatible, while ARM64 is using "altr,sys-mgr-s10" compatible. Removed "cpu1-start-addr" for ARM64 as it is not required.
---
Changes in v3:
- change to altr,sys-mgr.yaml file name as per review comment. v2 patch:
https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Added detail description of changes in commit message.
- Moved coverted yaml file to soc folder.
.../bindings/arm/altera/socfpga-system.txt | 25 --------- .../bindings/soc/altera/altr,sys-mgr.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-system.txt create mode 100644 Documentation/devicetree/bindings/soc/altera/altr,sys-mgr.yaml
Documentation/devicetree/bindings/arm/altera/socfpga-system.txt deleted +0 -25
@@ -1,25 +0,0 @@ -Altera SOCFPGA System Manager - -Required properties: -- compatible : "altr,sys-mgr" -- reg : Should contain 1 register ranges(address and length) -- cpu1-start-addr : CPU1 start address in hex. - -Example: - sysmgr@ffd08000 { - compatible = "altr,sys-mgr"; - reg = <0xffd08000 0x1000>; - cpu1-start-addr = <0xffd080c4>; - }; - -ARM64 - Stratix10 -Required properties: -- compatible : "altr,sys-mgr-s10" -- reg : Should contain 1 register range(address and length) - for system manager register. - -Example: - sysmgr@ffd12000 { - compatible = "altr,sys-mgr-s10"; - reg = <0xffd12000 0x228>; - };
Documentation/devicetree/bindings/soc/altera/altr,sys-mgr.yaml new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.25.1
Quoted 22 lines · On Tue, 07 Jan 2025 18:51:29 +0800, [email protected] wrote:
From: Niravkumar L Rabara <[email protected]>
Convert socfpga-system.txt to altr,socfpga-sys-mgr.yaml and move to soc directory.
Add platform names in description for clarity. ARM(32-bit) platforms Cyclone5, Arria5 and Arria10 is using "altr,sys-mgr" compatible, while ARM64 is using "altr,sys-mgr-s10" compatible. Removed "cpu1-start-addr" for ARM64 as it is not required.
Signed-off-by Niravkumar L Rabara <[email protected]>---
Changes in v3:
- change to altr,sys-mgr.yaml file name as per review comment. v2 patch:
https://lore.kernel.org/all/[email protected]/Changes in v2:
- Added detail description of changes in commit message.
- Moved coverted yaml file to soc folder.
Quoted 6 lines
.../bindings/arm/altera/socfpga-system.txt | 25 --------- .../bindings/soc/altera/altr,sys-mgr.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-system.txt create mode 100644 Documentation/devicetree/bindings/soc/altera/altr,sys-mgr.yaml
Applied, thanks!