dt-bindings: move Atmel ECC508A I2C crypto processor to trivial-devices
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 24 May 2019 16:26:51 +0000 (18:26 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 May 2019 07:35:46 +0000 (15:35 +0800)
Move the binding for the discrete Atmel I2C Elliptic Curve h/w crypto
module to trivial-devices.yaml, as it doesn't belong in atmel-crypto
which describes unrelated on-SoC peripherals.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/atmel-crypto.txt
Documentation/devicetree/bindings/trivial-devices.yaml

index 6b458bb2440d6b846d2a21337c5316d54d672777..f2aab3dc2b523459f2f1a48c7a7360b31f6abc22 100644 (file)
@@ -66,16 +66,3 @@ sha@f8034000 {
        dmas = <&dma1 2 17>;
        dma-names = "tx";
 };
-
-* Eliptic Curve Cryptography (I2C)
-
-Required properties:
-- compatible : must be "atmel,atecc508a".
-- reg: I2C bus address of the device.
-- clock-frequency: must be present in the i2c controller node.
-
-Example:
-atecc508a@c0 {
-       compatible = "atmel,atecc508a";
-       reg = <0xC0>;
-};
index a572c3468226bb10f38fb091a4a5173b7b4bdb92..2e742d399e87b039cc77f04c53ff33634e94c177 100644 (file)
@@ -54,6 +54,8 @@ properties:
           - atmel,at97sc3204t
             # i2c h/w symmetric crypto module
           - atmel,atsha204a
+            # i2c h/w elliptic curve crypto module
+          - atmel,atecc508a
             # CM32181: Ambient Light Sensor
           - capella,cm32181
             # CM3232: Ambient Light Sensor