The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/apple/t8103-j456.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: d32151cabcafcb7ff958f9b4c440da8f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.