mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-15 16:15:29 +08:00
46 lines
1.1 KiB
Diff
46 lines
1.1 KiB
Diff
Document the OTP memory found on Rockchip RK3576 SoC.
|
|
|
|
The RK3576 uses the same set of clocks as the px30/rk3308
|
|
but has one reset more, so adapt the binding to handle this
|
|
variant as well.
|
|
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
.../bindings/nvmem/rockchip,otp.yaml | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
|
|
--- a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
|
|
+++ b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
|
|
@@ -14,6 +14,7 @@ properties:
|
|
enum:
|
|
- rockchip,px30-otp
|
|
- rockchip,rk3308-otp
|
|
+ - rockchip,rk3576-otp
|
|
- rockchip,rk3588-otp
|
|
|
|
reg:
|
|
@@ -70,6 +71,23 @@ allOf:
|
|
|
|
- if:
|
|
properties:
|
|
+ compatible:
|
|
+ contains:
|
|
+ enum:
|
|
+ - rockchip,rk3576-otp
|
|
+ then:
|
|
+ properties:
|
|
+ clocks:
|
|
+ minItems: 3
|
|
+ resets:
|
|
+ minItems: 2
|
|
+ reset-names:
|
|
+ items:
|
|
+ - const: otp
|
|
+ - const: apb
|
|
+
|
|
+ - if:
|
|
+ properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|