t8103-j456.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2. /*
  3. * Apple iMac (24-inch, 4x USB-C, M1, 2020)
  4. *
  5. * target-type: J456
  6. *
  7. * Copyright The Asahi Linux Contributors
  8. */
  9. /dts-v1/;
  10. #include "t8103.dtsi"
  11. #include "t8103-jxxx.dtsi"
  12. / {
  13. compatible = "apple,j456", "apple,t8103", "apple,arm-platform";
  14. model = "Apple iMac (24-inch, 4x USB-C, M1, 2020)";
  15. aliases {
  16. ethernet0 = &ethernet0;
  17. };
  18. };
  19. &wifi0 {
  20. brcm,board-type = "apple,capri";
  21. };
  22. &i2c0 {
  23. hpm2: usb-pd@3b {
  24. compatible = "apple,cd321x";
  25. reg = <0x3b>;
  26. interrupt-parent = <&pinctrl_ap>;
  27. interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
  28. interrupt-names = "irq";
  29. };
  30. hpm3: usb-pd@3c {
  31. compatible = "apple,cd321x";
  32. reg = <0x3c>;
  33. interrupt-parent = <&pinctrl_ap>;
  34. interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
  35. interrupt-names = "irq";
  36. };
  37. };
  38. /*
  39. * Force the bus number assignments so that we can declare some of the
  40. * on-board devices and properties that are populated by the bootloader
  41. * (such as MAC addresses).
  42. */
  43. &port01 {
  44. bus-range = <2 2>;
  45. status = "okay";
  46. };
  47. &port02 {
  48. bus-range = <3 3>;
  49. status = "okay";
  50. ethernet0: ethernet@0,0 {
  51. reg = <0x30000 0x0 0x0 0x0 0x0>;
  52. /* To be filled by the loader */
  53. local-mac-address = [00 10 18 00 00 00];
  54. };
  55. };
  56. &pcie0_dart_1 {
  57. status = "okay";
  58. };
  59. &pcie0_dart_2 {
  60. status = "okay";
  61. };