ARM: dts: rockchip: enable nfc node in rk3066a-mk808.dts
authorJohan Jonker <jbx6244@gmail.com>
Fri, 3 Jun 2022 14:46:27 +0000 (16:46 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 7 Jun 2022 09:17:05 +0000 (11:17 +0200)
Enable nfc node in rk3066a-mk808.dts

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20220603144627.23269-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3066a-mk808.dts

index 667d57a..cfa318a 100644 (file)
        status = "okay";
 };
 
+&nfc {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       status = "okay";
+
+       nand@0 {
+               reg = <0>;
+               label = "rk-nand";
+               nand-bus-width = <8>;
+               nand-ecc-mode = "hw";
+               nand-ecc-step-size = <1024>;
+               nand-ecc-strength = <40>;
+               nand-is-boot-medium;
+               rockchip,boot-blks = <8>;
+               rockchip,boot-ecc-strength = <24>;
+       };
+};
+
 &pinctrl {
        usb-host {
                host_drv: host-drv {