stih41x-b2000.dtsi 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /*
  2. * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
  3. * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * publishhed by the Free Software Foundation.
  8. */
  9. #include <dt-bindings/input/input.h>
  10. / {
  11. memory{
  12. device_type = "memory";
  13. reg = <0x60000000 0x40000000>;
  14. };
  15. chosen {
  16. bootargs = "console=ttyAS0,115200 clk_ignore_unused";
  17. linux,stdout-path = &serial2;
  18. };
  19. aliases {
  20. ttyAS0 = &serial2;
  21. ethernet0 = &ethernet0;
  22. ethernet1 = &ethernet1;
  23. };
  24. soc {
  25. serial2: serial@fed32000 {
  26. status = "okay";
  27. };
  28. leds {
  29. compatible = "gpio-leds";
  30. fp_led {
  31. #gpio-cells = <1>;
  32. label = "Front Panel LED";
  33. gpios = <&PIO105 7>;
  34. linux,default-trigger = "heartbeat";
  35. };
  36. };
  37. /* HDMI Tx I2C */
  38. i2c@fed41000 {
  39. /* HDMI V1.3a supports Standard mode only */
  40. clock-frequency = <100000>;
  41. i2c-min-scl-pulse-width-us = <0>;
  42. i2c-min-sda-pulse-width-us = <5>;
  43. status = "okay";
  44. };
  45. ethernet0: dwmac@fe810000 {
  46. status = "okay";
  47. phy-mode = "mii";
  48. pinctrl-0 = <&pinctrl_mii0>;
  49. snps,reset-gpio = <&PIO106 2>;
  50. snps,reset-active-low;
  51. snps,reset-delays-us = <0 10000 10000>;
  52. };
  53. ethernet1: dwmac@fef08000 {
  54. status = "disabled";
  55. phy-mode = "mii";
  56. st,tx-retime-src = "txclk";
  57. snps,reset-gpio = <&PIO4 7>;
  58. snps,reset-active-low;
  59. snps,reset-delays-us = <0 10000 10000>;
  60. };
  61. keyscan: keyscan@fe4b0000 {
  62. keypad,num-rows = <4>;
  63. keypad,num-columns = <4>;
  64. st,debounce-us = <5000>;
  65. linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13)
  66. MATRIX_KEY(0x00, 0x01, KEY_F9)
  67. MATRIX_KEY(0x00, 0x02, KEY_F5)
  68. MATRIX_KEY(0x00, 0x03, KEY_F1)
  69. MATRIX_KEY(0x01, 0x00, KEY_F14)
  70. MATRIX_KEY(0x01, 0x01, KEY_F10)
  71. MATRIX_KEY(0x01, 0x02, KEY_F6)
  72. MATRIX_KEY(0x01, 0x03, KEY_F2)
  73. MATRIX_KEY(0x02, 0x00, KEY_F15)
  74. MATRIX_KEY(0x02, 0x01, KEY_F11)
  75. MATRIX_KEY(0x02, 0x02, KEY_F7)
  76. MATRIX_KEY(0x02, 0x03, KEY_F3)
  77. MATRIX_KEY(0x03, 0x00, KEY_F16)
  78. MATRIX_KEY(0x03, 0x01, KEY_F12)
  79. MATRIX_KEY(0x03, 0x02, KEY_F8)
  80. MATRIX_KEY(0x03, 0x03, KEY_F4) >;
  81. };
  82. };
  83. };