e6f2ffeaf5
The D1 CCU contains gates and resets for two CAN buses. While the CAN bus controllers are only documented for the T113 SoC, the CCU is the same across all SoC variants. Signed-off-by: Fabien Poussin <fabien.poussin@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20221231231429.18357-7-samuel@sholland.org Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
16 lines
367 B
C
16 lines
367 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2020 frank@allwinnertech.com
|
|
* Copyright (C) 2021 Samuel Holland <samuel@sholland.org>
|
|
*/
|
|
|
|
#ifndef _CCU_SUN20I_D1_H_
|
|
#define _CCU_SUN20I_D1_H_
|
|
|
|
#include <dt-bindings/clock/sun20i-d1-ccu.h>
|
|
#include <dt-bindings/reset/sun20i-d1-ccu.h>
|
|
|
|
#define CLK_NUMBER (CLK_BUS_CAN1 + 1)
|
|
|
|
#endif /* _CCU_SUN20I_D1_H_ */
|