diff mbox series

[v1] ARM: dts: rockchip: enable nfc node in rk3066a-mk808.dts

Message ID 20220603144627.23269-1-jbx6244@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v1] ARM: dts: rockchip: enable nfc node in rk3066a-mk808.dts | expand

Commit Message

Johan Jonker June 3, 2022, 2:46 p.m. UTC
Enable nfc node in rk3066a-mk808.dts

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rk3066a-mk808.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Heiko Stuebner June 7, 2022, 9:19 a.m. UTC | #1
On Fri, 3 Jun 2022 16:46:27 +0200, Johan Jonker wrote:
> Enable nfc node in rk3066a-mk808.dts

Applied, thanks!

[1/1] ARM: dts: rockchip: enable nfc node in rk3066a-mk808.dts
      commit: 70e76f7344e59266e8a97cfe64d0d7c081652b35

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/rk3066a-mk808.dts b/arch/arm/boot/dts/rk3066a-mk808.dts
index 667d57a4f..cfa318a50 100644
--- a/arch/arm/boot/dts/rk3066a-mk808.dts
+++ b/arch/arm/boot/dts/rk3066a-mk808.dts
@@ -160,6 +160,24 @@ 
 	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 {