Commit 27388d561c77592914f3510119ac406371420670
Committed by
Stefano Babic
1 parent
e2bab4b9ea
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
imx: ventana: fix GW520x external watchdog dt update
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Showing 1 changed file with 8 additions and 8 deletions Side-by-side Diff
board/gateworks/gw_ventana/gw_ventana.c
... | ... | @@ -1203,16 +1203,16 @@ |
1203 | 1203 | strstr((const char *)info->model, "SP331-B")) |
1204 | 1204 | gpio_cfg[board_type].usd_vsel = 0; |
1205 | 1205 | |
1206 | - /* GW520x-E adds WDOG1_B external reset */ | |
1207 | - if (info->model[4] == '0' && rev < 'E') | |
1208 | - ft_delprop_path(blob, WDOG1_PATH, | |
1209 | - "fsl,ext-reset-output"); | |
1210 | - | |
1211 | 1206 | /* GW522x-B adds WDOG1_B external reset */ |
1212 | - if (info->model[4] == '2' && rev < 'B') | |
1213 | - ft_delprop_path(blob, WDOG1_PATH, | |
1214 | - "fsl,ext-reset-output"); | |
1207 | + ft_delprop_path(blob, WDOG1_PATH, | |
1208 | + "fsl,ext-reset-output"); | |
1215 | 1209 | } |
1210 | + | |
1211 | + /* GW520x-E adds WDOG1_B external reset */ | |
1212 | + else if (info->model[4] == '0' && rev < 'E') | |
1213 | + ft_delprop_path(blob, WDOG1_PATH, | |
1214 | + "fsl,ext-reset-output"); | |
1215 | + | |
1216 | 1216 | break; |
1217 | 1217 | |
1218 | 1218 | case GW53xx: |