WORKAROUND: Temporary workaround for bluetooth enable.
This patch add rfkill-bluetooth device node and pinctrl.
And then, add line for parse shutdown-gpio.
Change-Id: I1263b020f7c939a65a95c7a5b94e379a7a51210f
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
};
serial@13800000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_data &uart0_fctl>;
status = "okay";
};
status = "okay";
};
+ rfkill_bt {
+ compatible = "rfkill-gpio";
+ pinctrl-0 = <&eint22>;
+ pinctrl-names = "default";
+ status = "okay";
+ rfkill-name = "bt";
+ rfkill-type = <2>;
+ shutdown-gpio = <&gpl0 6 0>;
+ };
+
i2c_ak8975: i2c-gpio-0 {
compatible = "i2c-gpio";
gpios = <&gpy2 4 0>, <&gpy2 5 0>;
samsung,pin-drv = <0>;
};
+ eint22: ext-int22 {
+ samsung,pins = "gpx2-6";
+ samsung,pin-function = <0xf>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
eint31: ext-int31 {
samsung,pins = "gpx3-7";
samsung,pin-function = <0xf>;
rfkill->name = np->name;
of_property_read_string(np, "rfkill-name", &rfkill->name);
of_property_read_u32(np, "rfkill-type", &rfkill->type);
+ rfkill->shutdown_gpio = of_get_named_gpio(np, "shutdown-gpio", 0);
return 0;
}