[bootlin/training-materials updates] master: slides/kernel-hw-devices: Invert two slides to show the BBB DT content in the right order (3af2aea1)
Miquel Raynal
miquel.raynal at bootlin.com
Fri Mar 17 15:34:05 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/3af2aea160a031255d8050696573064c3149395d
>---------------------------------------------------------------
commit 3af2aea160a031255d8050696573064c3149395d
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: Fri Mar 17 08:15:00 2023 +0100
slides/kernel-hw-devices: Invert two slides to show the BBB DT content in the right order
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>---------------------------------------------------------------
3af2aea160a031255d8050696573064c3149395d
slides/kernel-hw-devices/kernel-hw-devices.tex | 62 +++++++++++++-------------
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/slides/kernel-hw-devices/kernel-hw-devices.tex b/slides/kernel-hw-devices/kernel-hw-devices.tex
index b903323b..36f6f4a2 100644
--- a/slides/kernel-hw-devices/kernel-hw-devices.tex
+++ b/slides/kernel-hw-devices/kernel-hw-devices.tex
@@ -231,25 +231,26 @@ $ dtc -I dtb -O dts foo.dtb
cpus { ... };
memory at 0x80000000 { ... };
chosen { ... };
-
ocp {
- compatible = "simple-pm-bus";
- clocks = <&l3_clkctrl AM3_L3_L3_MAIN_CLKCTRL 0>;
- clock-names = "fck";
- #address-cells = <1>;
- #size-cells = <1>;
- intc: interrupt-controller at 48200000 { ... };
- usb0: usb at 47401300 { ... };
+ intc: interrupt-controller at 48200000 {
+ compatible = "ti,am33xx-intc";
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ reg = <0x48200000 0x1000>;
+ };
- l4_per: interconnect at 44c00000 {
- compatible = "ti,am33xx-l4-wkup", "simple-pm-bus";
- reg = <0x44c00000 0x800>, <0x44c00800 0x800>,
- <0x44c01000 0x400>, <0x44c01400 0x400>;
- reg-names = "ap", "la", "ia0", "ia1";
- #address-cells = <1>;
- #size-cells = <1>;
+ 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_per: interconnect at 44c00000 {
i2c0: i2c at 40012000 { ... };
};
};
@@ -264,26 +265,25 @@ $ dtc -I dtb -O dts foo.dtb
cpus { ... };
memory at 0x80000000 { ... };
chosen { ... };
- ocp {
- intc: interrupt-controller at 48200000 {
- compatible = "ti,am33xx-intc";
- interrupt-controller;
- #interrupt-cells = <1>;
- reg = <0x48200000 0x1000>;
- };
+ ocp {
+ compatible = "simple-pm-bus";
+ clocks = <&l3_clkctrl AM3_L3_L3_MAIN_CLKCTRL 0>;
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <1>;
- 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";
- };
+ intc: interrupt-controller at 48200000 { ... };
+ usb0: usb at 47401300 { ... };
l4_per: interconnect at 44c00000 {
+ compatible = "ti,am33xx-l4-wkup", "simple-pm-bus";
+ reg = <0x44c00000 0x800>, <0x44c00800 0x800>,
+ <0x44c01000 0x400>, <0x44c01400 0x400>;
+ reg-names = "ap", "la", "ia0", "ia1";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
i2c0: i2c at 40012000 { ... };
};
};
More information about the training-materials-updates
mailing list