I want to add some variable for my device. How can I do ?
this is what i want to add to dts file
/ {
wfx_pwrseq: wfx_pwrseq {
compatible = “mmc-pwrseq-simple”;
pinctrl-names = “default”;
pinctrl-0 = <&wfx_reset>;
reset-gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
&sdhc1 {
sdhc-pwrseq = <&wfx_pwrseq>;
#address-size = <1>;
#size = <0>;
sdhci@1 {
compatible = "silabs,wf200";
reg = <1>;
pinctrl-names = "default";
pinctrl-0 = <&wfx_wakeup>;
wakeup-gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
};
&spi1 {
wfx {
compatible = “silabs,wf200”;
pinctrl-names = “default”;
pinctrl-0 = <&wfx_irq &wfx_gpios>;
interrupts-extended = <&gpio 16 IRQ_TYPE_EDGE_RISING>;
wakeup-gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
reg = <0>;
spi-max-frequency = <42000000>;
};
};