t8103-jxxx.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2. /*
  3. * Apple M1 Mac mini, MacBook Air/Pro, iMac 24" (M1, 2020/2021)
  4. *
  5. * This file contains parts common to all Apple M1 devices using the t8103.
  6. *
  7. * target-type: J274, J293, J313, J456, J457
  8. *
  9. * Copyright The Asahi Linux Contributors
  10. */
  11. / {
  12. aliases {
  13. serial0 = &serial0;
  14. serial2 = &serial2;
  15. wifi0 = &wifi0;
  16. };
  17. chosen {
  18. #address-cells = <2>;
  19. #size-cells = <2>;
  20. ranges;
  21. stdout-path = "serial0";
  22. framebuffer0: framebuffer@0 {
  23. compatible = "apple,simple-framebuffer", "simple-framebuffer";
  24. reg = <0 0 0 0>; /* To be filled by loader */
  25. /* Format properties will be added by loader */
  26. status = "disabled";
  27. };
  28. };
  29. memory@800000000 {
  30. device_type = "memory";
  31. reg = <0x8 0 0x2 0>; /* To be filled by loader */
  32. };
  33. };
  34. &serial0 {
  35. status = "okay";
  36. };
  37. &serial2 {
  38. status = "okay";
  39. };
  40. &i2c0 {
  41. hpm0: usb-pd@38 {
  42. compatible = "apple,cd321x";
  43. reg = <0x38>;
  44. interrupt-parent = <&pinctrl_ap>;
  45. interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
  46. interrupt-names = "irq";
  47. };
  48. hpm1: usb-pd@3f {
  49. compatible = "apple,cd321x";
  50. reg = <0x3f>;
  51. interrupt-parent = <&pinctrl_ap>;
  52. interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
  53. interrupt-names = "irq";
  54. };
  55. };
  56. /*
  57. * Force the bus number assignments so that we can declare some of the
  58. * on-board devices and properties that are populated by the bootloader
  59. * (such as MAC addresses).
  60. */
  61. &port00 {
  62. bus-range = <1 1>;
  63. wifi0: network@0,0 {
  64. compatible = "pci14e4,4425";
  65. reg = <0x10000 0x0 0x0 0x0 0x0>;
  66. /* To be filled by the loader */
  67. local-mac-address = [00 00 00 00 00 00];
  68. apple,antenna-sku = "XX";
  69. };
  70. };