]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Add FRAM MB85RS128TY to rk3568-mecsbc
authorDavid Jander <david@protonic.nl>
Thu, 19 Dec 2024 12:34:57 +0000 (13:34 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 8 Jan 2025 12:17:15 +0000 (13:17 +0100)
The board features a Fujitsu MB85RS128TY FRAM chip connected to spi0 CS
0. Add support for the MB85RS128TY to the device tree.

Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
Link: https://lore.kernel.org/r/20241219-mb85rs128ty-mecsbc-v1-2-77a0e851ef19@pengutronix.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3568-mecsbc.dts

index ca041b4d2d38a4e06cd0a54a806fed2ab723c94d..b1f185a58902e9d75f38500fd14962ef5c466517 100644 (file)
        status = "okay";
 };
 
+&spi0 {
+       /* use hardware chipselect on cs0 (cs1 unconnected) */
+       pinctrl-names = "default";
+       pinctrl-0 = <&spi0m0_pins>, <&spi0m0_cs0>;
+       status = "okay";
+
+       fram@0 {
+               compatible = "fujitsu,mb85rs128ty";
+               reg = <0>;
+               spi-max-frequency = <33000000>;
+       };
+};
+
 &tsadc {
        rockchip,hw-tshut-mode = <1>;
        rockchip,hw-tshut-polarity = <0>;