summaryrefslogtreecommitdiffstats
path: root/dts/src/arm64/apple/t8103-j313.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dts/src/arm64/apple/t8103-j313.dts')
-rw-r--r--dts/src/arm64/apple/t8103-j313.dts43
1 files changed, 43 insertions, 0 deletions
diff --git a/dts/src/arm64/apple/t8103-j313.dts b/dts/src/arm64/apple/t8103-j313.dts
new file mode 100644
index 0000000000..97a4344d8d
--- /dev/null
+++ b/dts/src/arm64/apple/t8103-j313.dts
@@ -0,0 +1,43 @@
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
+/*
+ * Apple MacBook Air (M1, 2020)
+ *
+ * target-type: J313
+ *
+ * Copyright The Asahi Linux Contributors
+ */
+
+/dts-v1/;
+
+#include "t8103.dtsi"
+#include "t8103-jxxx.dtsi"
+#include <dt-bindings/leds/common.h>
+
+/ {
+ compatible = "apple,j313", "apple,t8103", "apple,arm-platform";
+ model = "Apple MacBook Air (M1, 2020)";
+
+ led-controller {
+ compatible = "pwm-leds";
+ led-0 {
+ pwms = <&fpwm1 0 40000>;
+ label = "kbd_backlight";
+ function = LED_FUNCTION_KBD_BACKLIGHT;
+ color = <LED_COLOR_ID_WHITE>;
+ max-brightness = <255>;
+ default-state = "keep";
+ };
+ };
+};
+
+&bluetooth0 {
+ brcm,board-type = "apple,shikoku";
+};
+
+&wifi0 {
+ brcm,board-type = "apple,shikoku";
+};
+
+&fpwm1 {
+ status = "okay";
+};