Add onewire node for w1 support.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
serial0 = &dbgu;
gpio0 = &pioA;
gpio1 = &pioB;
+ gpio3 = &pioD;
spi0 = &qspi;
};
clocks = <&pioB_clk>;
};
+ pioD: gpio@fffffa00 {
+ compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+ reg = <0xfffffa00 0x200>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ clocks = <&pioD_clk>;
+ };
+
pmc: pmc@fffffc00 {
compatible = "atmel,at91sam9x5-pmc";
reg = <0xfffffc00 0x200>;
reg = <3>;
};
+ pioD_clk: pioD_clk {
+ #clock-cells = <0>;
+ reg = <44>;
+ };
+
sdhci0_clk: sdhci0_clk {
#clock-cells = <0>;
reg = <12>;
};
};
};
+
+ onewire_tm: onewire {
+ compatible = "w1-gpio";
+ status = "disabled";
+ };
};