summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-06-15 20:57:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-06-17 14:21:58 +0000
commit361bb53aa2bb6314bf22690f5436af7c096d0e0a (patch)
treed0e4682ef6d9c644a4ab80de4a2ceb1eb3b7503c /src/mainboard
parentddbc771524a2a127dd51f711b6d88b13884c2164 (diff)
soc/amd/picasso: introduce and use devicetree aliases for UART0-3
Since the default state of the MMIO UART devices in the chipset devicetree is off, the mainboard devicetree entries that disable MMIO UART devices are removed. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I913a587802020ce4e182b48632cdde1104c2a6e6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55545 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/amd/bilby/devicetree.cb6
-rw-r--r--src/mainboard/amd/mandolin/variants/cereme/devicetree.cb6
-rw-r--r--src/mainboard/amd/mandolin/variants/mandolin/devicetree.cb6
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb5
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb5
-rw-r--r--src/mainboard/google/zork/variants/berknip/overridetree.cb2
-rw-r--r--src/mainboard/google/zork/variants/morphius/overridetree.cb2
-rw-r--r--src/mainboard/google/zork/variants/trembyle/overridetree.cb2
8 files changed, 11 insertions, 23 deletions
diff --git a/src/mainboard/amd/bilby/devicetree.cb b/src/mainboard/amd/bilby/devicetree.cb
index 932d280b80..862d20f79c 100644
--- a/src/mainboard/amd/bilby/devicetree.cb
+++ b/src/mainboard/amd/bilby/devicetree.cb
@@ -165,9 +165,7 @@ chip soc/amd/picasso
end
end # domain
- device mmio 0xfedc9000 on end # UART0
- device mmio 0xfedca000 on end # UART1
- device mmio 0xfedce000 off end # UART2
- device mmio 0xfedcf000 off end # UART3
+ device ref uart_0 on end # console
+ device ref uart_1 on end
end # chip soc/amd/picasso
diff --git a/src/mainboard/amd/mandolin/variants/cereme/devicetree.cb b/src/mainboard/amd/mandolin/variants/cereme/devicetree.cb
index 6a1a3bc0a7..628ba64725 100644
--- a/src/mainboard/amd/mandolin/variants/cereme/devicetree.cb
+++ b/src/mainboard/amd/mandolin/variants/cereme/devicetree.cb
@@ -163,9 +163,7 @@ chip soc/amd/picasso
end
end # domain
- device mmio 0xfedc9000 on end # UART0
- device mmio 0xfedca000 on end # UART1
- device mmio 0xfedce000 off end # UART2
- device mmio 0xfedcf000 off end # UART3
+ device ref uart_0 on end # console
+ device ref uart_1 on end
end # chip soc/amd/picasso
diff --git a/src/mainboard/amd/mandolin/variants/mandolin/devicetree.cb b/src/mainboard/amd/mandolin/variants/mandolin/devicetree.cb
index a12d318722..2aac197464 100644
--- a/src/mainboard/amd/mandolin/variants/mandolin/devicetree.cb
+++ b/src/mainboard/amd/mandolin/variants/mandolin/devicetree.cb
@@ -163,9 +163,7 @@ chip soc/amd/picasso
end
end # domain
- device mmio 0xfedc9000 on end # UART0
- device mmio 0xfedca000 on end # UART1
- device mmio 0xfedce000 off end # UART2
- device mmio 0xfedcf000 off end # UART3
+ device ref uart_0 on end # console
+ device ref uart_1 on end
end # chip soc/amd/picasso
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
index f17eca77ca..0cf969cf6a 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
@@ -395,9 +395,6 @@ chip soc/amd/picasso
end
end
- device mmio 0xfedc9000 on end # console on UART0
- device mmio 0xfedca000 off end # UART1
- device mmio 0xfedce000 off end # UART2
- device mmio 0xfedcf000 off end # UART3
+ device ref uart_0 on end # console
end # chip soc/amd/picasso
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
index 88fa360743..637299b43d 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
@@ -437,9 +437,6 @@ chip soc/amd/picasso
end
end
- device mmio 0xfedc9000 on end # console on UART0
- device mmio 0xfedca000 off end # UART1
- device mmio 0xfedce000 off end # UART2
- device mmio 0xfedcf000 off end # UART3
+ device ref uart_0 on end # console
end # chip soc/amd/picasso
diff --git a/src/mainboard/google/zork/variants/berknip/overridetree.cb b/src/mainboard/google/zork/variants/berknip/overridetree.cb
index 04b966bc6b..fe2eadea61 100644
--- a/src/mainboard/google/zork/variants/berknip/overridetree.cb
+++ b/src/mainboard/google/zork/variants/berknip/overridetree.cb
@@ -158,7 +158,7 @@ chip soc/amd/picasso
end
end
- device mmio 0xfedca000 on
+ device ref uart_1 on
chip drivers/uart/acpi
register "name" = ""CRFP""
register "desc" = ""Fingerprint Reader""
diff --git a/src/mainboard/google/zork/variants/morphius/overridetree.cb b/src/mainboard/google/zork/variants/morphius/overridetree.cb
index 66e49f4db6..cfc9cb3320 100644
--- a/src/mainboard/google/zork/variants/morphius/overridetree.cb
+++ b/src/mainboard/google/zork/variants/morphius/overridetree.cb
@@ -123,7 +123,7 @@ chip soc/amd/picasso
end
end
- device mmio 0xfedca000 on
+ device ref uart_1 on
chip drivers/uart/acpi
register "name" = ""CRFP""
register "desc" = ""Fingerprint Reader""
diff --git a/src/mainboard/google/zork/variants/trembyle/overridetree.cb b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
index a34d3166c9..a558aca00e 100644
--- a/src/mainboard/google/zork/variants/trembyle/overridetree.cb
+++ b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
@@ -91,7 +91,7 @@ chip soc/amd/picasso
end
end
- device mmio 0xfedca000 on
+ device ref uart_1 on
chip drivers/uart/acpi
register "name" = ""CRFP""
register "desc" = ""Fingerprint Reader""