Device Tree Overlay Parse Error: Issues with SPI3 Node

I have an overlay configuration:

/ {
    spi3: &spi3 {
        status = "okay";
        pinctrl-0 = <&spi3_default>;
        pinctrl-1 = <&spi3_sleep>;
        pinctrl-names = "default", "sleep";
        cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;

        max30001: max30001@0 {
            compatible = "maxim,max30001";
            reg = <0x0>;
            spi-max-frequency = <1000000>;
            intb-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
            rtor-enabled;
            ecg-enabled;
            bioz-enabled;
            ecg-gain = <3>;
            ecg-invert;
        };
    };
};
However, I keep getting the following error: devicetree error: /Users/aa/code/nrf/untitled_2/nrf52840dk_nrf52840.overlay:3 (column 11): parse error: expected node or property name Is there something wrong with my configuration? Thank you.
Parents Reply Children
No Data
Related