arch/arm/boot/dts/allwinner/sun5i-reference-design-tablet.dtsi

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun5i-reference-design-tablet.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun5i-reference-design-tablet.dtsi
Extension
.dtsi
Size
4888 bytes
Lines
195
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#include "sunxi-reference-design-tablet.dtsi"

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pwm/pwm.h>

/ {
	aliases {
		serial0 = &uart1;
	};

	backlight: backlight {
		compatible = "pwm-backlight";
		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
		default-brightness-level = <8>;
		enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */
		power-supply = <&reg_vcc3v0>;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};
};

&codec {
	allwinner,pa-gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */
	status = "okay";
};

&cpu0 {
	cpu-supply = <&reg_dcdc2>;
};

&ehci0 {
	status = "okay";
};

&i2c0 {
	axp209: pmic@34 {
		reg = <0x34>;
		interrupts = <0>;
	};
};

&i2c1 {
	/*
	 * The gsl1680 is rated at 400KHz and it will not work reliable at
	 * 100KHz, this has been confirmed on multiple different q8 tablets.
	 * All other devices on this bus are also rated for 400KHz.
	 */
	clock-frequency = <400000>;

	touchscreen: touchscreen@40 {
		reg = <0x40>;
		interrupt-parent = <&pio>;
		interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>; /* EINT11 (PG11) */
		power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
		/* Tablet dts must provide reg and compatible */
		status = "disabled";
	};

	pcf8563: rtc@51 {
		compatible = "nxp,pcf8563";
		reg = <0x51>;
	};
};

#include "axp209.dtsi"

&ac_power_supply {

Annotation

Implementation Notes