Merge branch 'u-boot/master' into 'u-boot-arm/master'
[oweals/u-boot.git] / arch / arm / include / asm / arch-mxs / regs-digctl.h
index 5e4f564ffd85ece11e38646ce49e6f2a56268dc9..860be9e28f4561fab2dfba7be5e5dc328bd3ea80 100644 (file)
@@ -3,29 +3,16 @@
  *
  * Copyright (C) 2012 Robert Delien <robert@delien.nl>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
- *
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __MX28_REGS_DIGCTL_H__
 #define __MX28_REGS_DIGCTL_H__
 
-#include <asm/arch/regs-common.h>
+#include <asm/imx-common/regs-common.h>
 
 #ifndef        __ASSEMBLY__
-struct mx28_digctl_regs {
+struct mxs_digctl_regs {
        mxs_reg_32(hw_digctl_ctrl)                              /* 0x000 */
        mxs_reg_32(hw_digctl_status)                            /* 0x010 */
        mxs_reg_32(hw_digctl_hclkcount)                 /* 0x020 */
@@ -154,6 +141,7 @@ struct mx28_digctl_regs {
 
 /* Product code identification */
 #define HW_DIGCTL_CHIPID_MASK  (0xffff << 16)
+#define HW_DIGCTL_CHIPID_MX23  (0x3780 << 16)
 #define HW_DIGCTL_CHIPID_MX28  (0x2800 << 16)
 
 #endif /* __MX28_REGS_DIGCTL_H__ */