[bootlin/training-materials updates] master: kernel-hw-devices: Fix DT example (1f0cf06b)
Miquel Raynal
miquel.raynal at bootlin.com
Tue Jan 17 13:51:28 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/1f0cf06b26790357126737b627a85e1de7e8a177
>---------------------------------------------------------------
commit 1f0cf06b26790357126737b627a85e1de7e8a177
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: Tue Jan 17 13:51:10 2023 +0100
kernel-hw-devices: Fix DT example
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>---------------------------------------------------------------
1f0cf06b26790357126737b627a85e1de7e8a177
slides/kernel-hw-devices/kernel-hw-devices.tex | 27 +++++++++++++-------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/slides/kernel-hw-devices/kernel-hw-devices.tex b/slides/kernel-hw-devices/kernel-hw-devices.tex
index eebfeede..df9a20ad 100644
--- a/slides/kernel-hw-devices/kernel-hw-devices.tex
+++ b/slides/kernel-hw-devices/kernel-hw-devices.tex
@@ -171,8 +171,8 @@ $ dtc -I dtb -O dts foo.dtb
chosen { ... };
ocp {
intc: interrupt-controller at 48200000 { ... };
+ usb0: usb at 47401300 { ... };
l4_wkup: interconnect at 44c00000 {
- usb0: usb at 47401300 { ... };
i2c0: i2c at 40012000 { ... };
};
};
@@ -226,6 +226,7 @@ $ dtc -I dtb -O dts foo.dtb
#size-cells = <1>;
intc: interrupt-controller at 48200000 { ... };
+ usb0: usb at 47401300 { ... };
l4_wkup: interconnect at 44c00000 {
compatible = "ti,am33xx-l4-wkup", "simple-pm-bus";
@@ -235,7 +236,6 @@ $ dtc -I dtb -O dts foo.dtb
#address-cells = <1>;
#size-cells = <1>;
- usb0: usb at 47401300 { ... };
i2c0: i2c at 40012000 { ... };
};
};
@@ -259,18 +259,17 @@ $ dtc -I dtb -O dts foo.dtb
reg = <0x48200000 0x1000>;
};
- l4_wkup: interconnect at 44c00000 {
-
- usb0: usb at 47401300 {
- compatible = "ti,musb-am33xx";
- reg = <0x1400 0x400>, <0x1000 0x200>;
- reg-names = "mc", "control";
- interrupts = <18>;
- dr_mode = "otg";
- dmas = <&cppi41dma 0 0 &cppi41dma 1 0 ...>;
- status = "okay";
- };
+ usb0: usb at 47401300 {
+ compatible = "ti,musb-am33xx";
+ reg = <0x1400 0x400>, <0x1000 0x200>;
+ reg-names = "mc", "control";
+ interrupts = <18>;
+ dr_mode = "otg";
+ dmas = <&cppi41dma 0 0 &cppi41dma 1 0 ...>;
+ status = "okay";
+ };
+ l4_wkup: interconnect at 44c00000 {
i2c0: i2c at 40012000 { ... };
};
};
@@ -287,8 +286,8 @@ $ dtc -I dtb -O dts foo.dtb
chosen { ... };
ocp {
intc: interrupt-controller at 48200000 { ... };
+ usb0: usb at 47401300 { ... };
l4_wkup: interconnect at 44c00000 {
- usb0: usb at 47401300 { ... };
i2c0: i2c at 40012000 {
compatible = "ti,omap4-i2c";
More information about the training-materials-updates
mailing list