~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/apple/t8112-j413.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
  2 /*
  3  * Apple MacBook Air (M2, 2022)
  4  *
  5  * target-type: J413
  6  *
  7  * Copyright The Asahi Linux Contributors
  8  */
  9 
 10 /dts-v1/;
 11 
 12 #include "t8112.dtsi"
 13 #include "t8112-jxxx.dtsi"
 14 #include <dt-bindings/leds/common.h>
 15 
 16 / {
 17         compatible = "apple,j413", "apple,t8112", "apple,arm-platform";
 18         model = "Apple MacBook Air (13-inch, M2, 2022)";
 19 
 20         aliases {
 21                 bluetooth0 = &bluetooth0;
 22                 wifi0 = &wifi0;
 23         };
 24 
 25         led-controller {
 26                 compatible = "pwm-leds";
 27                 led-0 {
 28                         pwms = <&fpwm1 0 40000>;
 29                         label = "kbd_backlight";
 30                         function = LED_FUNCTION_KBD_BACKLIGHT;
 31                         color = <LED_COLOR_ID_WHITE>;
 32                         max-brightness = <255>;
 33                         default-state = "keep";
 34                 };
 35         };
 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 &port00 {
 44         bus-range = <1 1>;
 45         wifi0: wifi@0,0 {
 46                 compatible = "pci14e4,4433";
 47                 reg = <0x10000 0x0 0x0 0x0 0x0>;
 48                 /* To be filled by the loader */
 49                 local-mac-address = [00 10 18 00 00 10];
 50                 apple,antenna-sku = "XX";
 51                 brcm,board-type = "apple,hokkaido";
 52         };
 53 
 54         bluetooth0: bluetooth@0,1 {
 55                 compatible = "pci14e4,5f71";
 56                 reg = <0x10100 0x0 0x0 0x0 0x0>;
 57                 /* To be filled by the loader */
 58                 local-bd-address = [00 00 00 00 00 00];
 59                 brcm,board-type = "apple,hokkaido";
 60         };
 61 };
 62 
 63 &i2c0 {
 64         /* MagSafe port */
 65         hpm5: usb-pd@3a {
 66                 compatible = "apple,cd321x";
 67                 reg = <0x3a>;
 68                 interrupt-parent = <&pinctrl_ap>;
 69                 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
 70                 interrupt-names = "irq";
 71         };
 72 };
 73 
 74 &i2c4 {
 75         status = "okay";
 76 };
 77 
 78 &fpwm1 {
 79         status = "okay";
 80 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php