mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 16:44:59 +00:00

Add DWI backlight controller nodes for Apple A10 SoC, and enable it for: - iPhone 7 - iPhone 7 Plus - iPod touch 7 - iPad 6 - iPad 7 Signed-off-by: Nick Chan <towinchenmi@gmail.com> Link: https://lore.kernel.org/r/20250228-dwi-dt-v2-4-69e450bc4bfb@gmail.com Signed-off-by: Sven Peter <sven@svenpeter.dev>
53 lines
955 B
Plaintext
53 lines
955 B
Plaintext
// SPDX-License-Identifier: GPL-2.0 OR MIT
|
|
/*
|
|
* Apple iPhone 7, iPhone 7 Plus, iPad 6, iPad 7, iPod touch 7
|
|
*
|
|
* This file contains parts common to all Apple A10 devices.
|
|
*
|
|
* target-type: D10, D11, D101, D111, J71b, J72b, J171, J172, N112
|
|
*
|
|
* Copyright (c) 2024, Nick Chan <towinchenmi@gmail.com>
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
serial0 = &serial0;
|
|
};
|
|
|
|
chosen {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
stdout-path = "serial0";
|
|
|
|
framebuffer0: framebuffer@0 {
|
|
compatible = "apple,simple-framebuffer", "simple-framebuffer";
|
|
reg = <0 0 0 0>; /* To be filled by loader */
|
|
/* Format properties will be added by loader */
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
memory@800000000 {
|
|
device_type = "memory";
|
|
reg = <0x8 0 0 0>; /* To be filled by loader */
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
/* To be filled by loader */
|
|
};
|
|
};
|
|
|
|
&dwi_bl {
|
|
status = "okay";
|
|
};
|
|
|
|
&serial0 {
|
|
status = "okay";
|
|
};
|