sun8i-a23-ippo-q8h-v5.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. * Copyright 2014 Chen-Yu Tsai
  3. *
  4. * Chen-Yu Tsai <wens@csie.org>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /dts-v1/;
  14. /include/ "sun8i-a23.dtsi"
  15. /include/ "sunxi-common-regulators.dtsi"
  16. / {
  17. model = "Ippo Q8H Dual Core Tablet (v5)";
  18. compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";
  19. chosen {
  20. bootargs = "earlyprintk console=ttyS0,115200";
  21. };
  22. soc@01c00000 {
  23. mmc0: mmc@01c0f000 {
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
  26. vmmc-supply = <&reg_vcc3v0>;
  27. bus-width = <4>;
  28. cd-gpios = <&pio 1 4 0>; /* PB4 */
  29. cd-inverted;
  30. status = "okay";
  31. };
  32. pinctrl@01c20800 {
  33. mmc0_cd_pin_q8h: mmc0_cd_pin@0 {
  34. allwinner,pins = "PB4";
  35. allwinner,function = "gpio_in";
  36. allwinner,drive = <0>;
  37. allwinner,pull = <1>;
  38. };
  39. };
  40. i2c0: i2c@01c2ac00 {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&i2c0_pins_a>;
  43. status = "okay";
  44. };
  45. i2c1: i2c@01c2b000 {
  46. pinctrl-names = "default";
  47. pinctrl-0 = <&i2c1_pins_a>;
  48. status = "okay";
  49. };
  50. i2c2: i2c@01c2b400 {
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&i2c2_pins_a>;
  53. /* pull-ups and devices require PMIC regulator */
  54. status = "failed";
  55. };
  56. r_uart: serial@01f02800 {
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&r_uart_pins_a>;
  59. status = "okay";
  60. };
  61. };
  62. };