arch/arm/boot/dts/allwinner/sun5i-a13-utoo-p66.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun5i-a13-utoo-p66.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/allwinner/sun5i-a13-utoo-p66.dts
Extension
.dts
Size
3696 bytes
Lines
118
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

/dts-v1/;
#include "sun5i-a13.dtsi"
#include "sun5i-reference-design-tablet.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "Utoo P66";
	compatible = "utoo,p66", "allwinner,sun5i-a13";

	/* The P66 uses the uart pins as gpios */
	aliases {
		/delete-property/serial0;
	};

	chosen {
		/delete-property/stdout-path;
	};

	i2c_lcd: i2c {
		/* The lcd panel i2c interface is hooked up via gpios */
		compatible = "i2c-gpio";
		sda-gpios = <&pio 6 12 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG12 */
		scl-gpios = <&pio 6 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG10 */
		i2c-gpio,delay-us = <5>;
	};
};

&backlight {
	/* Note levels of 10 / 20% result in backlight off */
	brightness-levels = <0 30 40 50 60 70 80 90 100>;
	default-brightness-level = <6>;
};

&codec {
	allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */
};

&mmc2 {
	pinctrl-names = "default";
	pinctrl-0 = <&mmc2_8bit_pins>;
	vmmc-supply = <&reg_vcc3v3>;
	bus-width = <8>;
	non-removable;
	status = "okay";

	mmccard: mmccard@0 {
		reg = <0>;
		compatible = "mmc-card";
		broken-hpi;
	};
};

&reg_usb0_vbus {
	gpio = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
};

&touchscreen {
	compatible = "chipone,icn8318";
	reg = <0x40>;
	/* The P66 uses a different EINT then the reference design */
	interrupts = <6 9 IRQ_TYPE_EDGE_FALLING>; /* EINT9 (PG9) */
	/* The icn8318 binding expects wake-gpios instead of power-gpios */
	/delete-property/ power-gpios;
	wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
	touchscreen-size-x = <800>;
	touchscreen-size-y = <480>;
	touchscreen-inverted-x;
	touchscreen-swapped-x-y;
	status = "okay";
};

Annotation

Implementation Notes