Skip to content

Commit e817f02

Browse files
TroyMitchell911linusw
authored andcommitted
dt-bindings: pinctrl: spacemit: add syscon property
In order to access the protected IO power domain registers, a valid unlock sequence must be performed by writing the required keys to the AIB Secure Access Register (ASAR). The ASAR register resides within the APBC register address space. A corresponding syscon property is added to allow the pinctrl driver to access this register. Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Linus Walleij <linusw@kernel.org>
1 parent 76d4157 commit e817f02

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ properties:
3232
resets:
3333
maxItems: 1
3434

35+
spacemit,apbc:
36+
$ref: /schemas/types.yaml#/definitions/phandle
37+
description: Phandle to syscon that access the protected register
38+
3539
patternProperties:
3640
'-cfg$':
3741
type: object
@@ -138,6 +142,7 @@ examples:
138142
clocks = <&syscon_apbc 42>,
139143
<&syscon_apbc 94>;
140144
clock-names = "func", "bus";
145+
spacemit,apbc = <&syscon_apbc>;
141146
142147
uart0_2_cfg: uart0-2-cfg {
143148
uart0-2-pins {

0 commit comments

Comments
 (0)