mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
Merge Official Source
This commit is contained in:
commit
b22ecbbf4d
@ -8,11 +8,11 @@ endif
|
||||
|
||||
LINUX_VERSION-4.14 = .176
|
||||
LINUX_VERSION-4.19 = .115
|
||||
LINUX_VERSION-5.4 = .38
|
||||
LINUX_VERSION-5.4 = .39
|
||||
|
||||
LINUX_KERNEL_HASH-4.14.176 = bcae0956baaeb55dab5bad0401873fbc5baaa7fbe957ea6d27a5ab241cec5ca2
|
||||
LINUX_KERNEL_HASH-4.19.115 = 11b2d97c8ea5ceb40c5e1d0bb87ad5b2b8c84560181bc60c0d28ec3a3e3801c2
|
||||
LINUX_KERNEL_HASH-5.4.38 = e72b9fa4e3a222d42d64dce9915e5b18f1b75ae722d529a1e560ced2e5d0f30e
|
||||
LINUX_KERNEL_HASH-5.4.39 = 5141965a61a7b1c538443782ec3ef25fe0c3f9cd4d70c4e9f969d16883f365c8
|
||||
|
||||
remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
|
||||
sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1)))))))
|
||||
|
@ -8,50 +8,18 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tfa-layerscape
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/atf
|
||||
PKG_SOURCE_VERSION:=7e34aebe658c7c3439d2d68b0ce6b9776e8e6996
|
||||
PKG_MIRROR_HASH:=9cf0bc32fa589a0ee7c48c87898679e645341f29da1253d0ba5d2e82c6ea074d
|
||||
PKG_BUILD_DEPENDS:=uboot-layerscape tfa-layerscape/host
|
||||
PKG_SOURCE_VERSION:=4a82c939a0211196e2b80a495f966383803753bb
|
||||
PKG_MIRROR_HASH:=31c264551ce800b646d7dcc5baa62cfbb4c8fa3299a93931c7ef71dc3e88380d
|
||||
PKG_BUILD_DEPENDS:=tfa-layerscape/host
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/tfa-layerscape/Config
|
||||
define Package/tfa-$(1)
|
||||
SECTION:=boot
|
||||
CATEGORY:=Boot Loaders
|
||||
TITLE:=$(2)
|
||||
DEPENDS:=@TARGET_layerscape_armv8_64b +layerscape-rcw-$(1)
|
||||
HIDDEN:=1
|
||||
VARIANT:=$(1)
|
||||
BIN_BL2:=$(3)
|
||||
BIN_FIP:=$(4)
|
||||
endef
|
||||
endef
|
||||
|
||||
define Package/tfa-layerscape/Install
|
||||
define Package/tfa-$(1)/install
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(BIN_BL2) $(STAGING_DIR_IMAGE)/$(1)-bl2.pbl
|
||||
$(CP) $(PKG_BUILD_DIR)/$(BIN_FIP) $(STAGING_DIR_IMAGE)/$(1)-fip.bin
|
||||
endef
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(eval $(Package/tfa-layerscape/$(BUILD_VARIANT))) \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
fip pbl PLAT=$(PLAT) BOOT_MODE=$(BOOT_MODE) \
|
||||
RCW=$(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-rcw.bin \
|
||||
BL33=$(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-uboot.bin \
|
||||
FIPTOOL=$(STAGING_DIR_HOST)/bin/tfa-fiptool \
|
||||
CREATE_PBL=$(STAGING_DIR_HOST)/bin/tfa-create-pbl \
|
||||
BYTE_SWAP=$(STAGING_DIR_HOST)/bin/tfa-byte-swap
|
||||
endef
|
||||
|
||||
HOST_CFLAGS += -Wall -Werror -pedantic -std=c99
|
||||
define Host/Compile
|
||||
$(MAKE) -C \
|
||||
@ -149,6 +117,35 @@ define Package/tfa-layerscape/ls2088ardb
|
||||
BIN_FIP:=build/ls2088ardb/release/fip.bin
|
||||
endef
|
||||
|
||||
define Package/tfa-layerscape/Config
|
||||
define Package/tfa-$(1)
|
||||
SECTION:=boot
|
||||
CATEGORY:=Boot Loaders
|
||||
TITLE:=$(2)
|
||||
DEPENDS:=@TARGET_layerscape_armv8_64b +layerscape-rcw +u-boot-$(1)
|
||||
VARIANT:=$(1)
|
||||
BIN_BL2:=$(3)
|
||||
BIN_FIP:=$(4)
|
||||
endef
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(BIN_BL2) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-bl2.pbl
|
||||
$(CP) $(PKG_BUILD_DIR)/$(BIN_FIP) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-fip.bin
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(eval $(Package/tfa-layerscape/$(BUILD_VARIANT))) \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
fip pbl PLAT=$(PLAT) BOOT_MODE=$(BOOT_MODE) \
|
||||
RCW=$(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-rcw.bin \
|
||||
BL33=$(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-uboot.bin \
|
||||
FIPTOOL=$(STAGING_DIR_HOST)/bin/tfa-fiptool \
|
||||
CREATE_PBL=$(STAGING_DIR_HOST)/bin/tfa-create-pbl \
|
||||
BYTE_SWAP=$(STAGING_DIR_HOST)/bin/tfa-byte-swap
|
||||
endef
|
||||
|
||||
TFAS := \
|
||||
ls1012afrdm \
|
||||
ls1012ardb \
|
||||
@ -163,8 +160,7 @@ TFAS := \
|
||||
|
||||
$(eval $(call HostBuild))
|
||||
$(foreach tfa,$(TFAS), \
|
||||
$(eval $(Package/tfa-layerscape/$(tfa))) \
|
||||
$(eval $(call Package/tfa-layerscape/Config,$(tfa),$(TITLE),$(BIN_BL2),$(BIN_FIP))) \
|
||||
$(eval $(call Package/tfa-layerscape/Install,$(tfa))) \
|
||||
$(eval $(call BuildPackage,tfa-$(tfa))) \
|
||||
$(eval $(Package/tfa-layerscape/$(tfa))) \
|
||||
$(eval $(call Package/tfa-layerscape/Config,$(tfa),$(TITLE),$(BIN_BL2),$(BIN_FIP))) \
|
||||
$(eval $(call BuildPackage,tfa-$(tfa))) \
|
||||
)
|
||||
|
@ -1,30 +0,0 @@
|
||||
From 65e9a722b44bf28b98fe25b3b174761b47ec7dbd Mon Sep 17 00:00:00 2001
|
||||
From: Biwen Li <biwen.li@nxp.com>
|
||||
Date: Mon, 1 Apr 2019 13:41:55 +0800
|
||||
Subject: [PATCH 2/3] plat/nxp/tools: fix a makefile bug that will use default
|
||||
implicit rules
|
||||
|
||||
The patch fix a makefile bug that will use default implicit rules,
|
||||
because do not have explicit rules for the destination files.
|
||||
|
||||
Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
||||
---
|
||||
plat/nxp/tools/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plat/nxp/tools/Makefile b/plat/nxp/tools/Makefile
|
||||
index 2095294b..0082a0be 100644
|
||||
--- a/plat/nxp/tools/Makefile
|
||||
+++ b/plat/nxp/tools/Makefile
|
||||
@@ -53,7 +53,7 @@ ${PROJECT_2}: ${OBJECTS_2} Makefile
|
||||
@echo "Built $@ successfully"
|
||||
@${ECHO_BLANK_LINE}
|
||||
|
||||
-%.o: %.c %.h Makefile
|
||||
+%.o: %.c Makefile
|
||||
@echo " CC $<"
|
||||
${Q}${HOSTCC} -c ${CPPFLAGS} ${CFLAGS} ${INCLUDE_PATHS} $< -o $@
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
@ -8,13 +8,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=uboot-layerscape
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot
|
||||
PKG_SOURCE_VERSION:=80b2d2bc4cab0a8363c9b7eba8064b1795f12670
|
||||
PKG_MIRROR_HASH:=5c467af40b4479f0ea16697ab54602bed815a23212293184943dca8a3a406d5c
|
||||
PKG_SOURCE_VERSION:=b0833bd0e26c059277f0673c9887b967f1ea5837
|
||||
PKG_MIRROR_HASH:=3cc01d4853ba56d9bcfe5366eddb5f664ae110741146d04f03434d38b4b5b0a0
|
||||
|
||||
include $(INCLUDE_DIR)/u-boot.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
@ -55,7 +55,6 @@ define U-Boot/ls1043ardb-sdboot
|
||||
UBOOT_CONFIG:=ls1043ardb_tfa
|
||||
endef
|
||||
|
||||
|
||||
define U-Boot/ls1046ardb
|
||||
NAME:=NXP LS1046ARDB
|
||||
UBOOT_CONFIG:=ls1046ardb_tfa
|
||||
@ -66,13 +65,11 @@ define U-Boot/ls1046ardb-sdboot
|
||||
UBOOT_CONFIG:=ls1046ardb_tfa
|
||||
endef
|
||||
|
||||
|
||||
define U-Boot/ls1088ardb
|
||||
NAME:=NXP LS1088ARDB
|
||||
UBOOT_CONFIG:=ls1088ardb_tfa
|
||||
endef
|
||||
|
||||
|
||||
define U-Boot/ls1088ardb-sdboot
|
||||
NAME:=NXP LS1088ARDB SD Card Boot
|
||||
UBOOT_CONFIG:=ls1088ardb_tfa
|
||||
@ -106,7 +103,6 @@ define U-Boot/ls1021aiot-sdboot
|
||||
ENV_SIZE:=0x2000
|
||||
endef
|
||||
|
||||
|
||||
UBOOT_TARGETS := \
|
||||
ls1012afrdm \
|
||||
ls1012ardb \
|
||||
|
@ -3,6 +3,6 @@ loadaddr=0x81000000
|
||||
fdt_high=0xffffffffffffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
qspi_boot=sf probe 0:0;sf read $loadaddr 1000000 2800000;bootm $loadaddr
|
||||
bootargs=rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.quadspi:1m(bl2),4m(fip),1m(u-boot-env),4m(reserved-1),3m(pfe),2m(reserved-2),1m(dtb),-(firmware)
|
||||
bootargs=rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.spi:1m(bl2),4m(fip),1m(u-boot-env),4m(reserved-1),3m(pfe),2m(reserved-2),1m(dtb),-(firmware)
|
||||
bootcmd=echo starting OpenWrt ...;pfe stop;run qspi_boot
|
||||
bootdelay=3
|
||||
|
@ -3,6 +3,6 @@ loadaddr=0x81000000
|
||||
fdt_high=0xffffffffffffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
qspi_boot=sf probe 0:0;sf read $fdtaddr f00000 100000;sf read $loadaddr 1000000 1000000;bootm $loadaddr - $fdtaddr
|
||||
bootargs=ubi.mtd=8 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.quadspi:1m(bl2),4m(fip),1m(u-boot-env),4m(reserved-1),3m(pfe),2m(reserved-2),1m(dtb),16m(kernel),32m(ubifs)
|
||||
bootargs=ubi.mtd=8 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.spi:1m(bl2),4m(fip),1m(u-boot-env),4m(reserved-1),3m(pfe),2m(reserved-2),1m(dtb),16m(kernel),32m(ubifs)
|
||||
bootcmd=echo starting openwrt ...;pfe stop;run qspi_boot
|
||||
bootdelay=3
|
||||
|
@ -3,6 +3,6 @@ loadaddr=0x81000000
|
||||
fdt_high=0xffffffff
|
||||
initrd_high=0xffffffff
|
||||
sd_boot=mmc read $fdtaddr 7800 800;mmc read $loadaddr 8000 8000;bootm $loadaddr - $fdtaddr
|
||||
bootargs=root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
|
||||
bootargs=root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 cma=64M@0x0-0xb0000000
|
||||
bootcmd=echo starting openwrt ...;run sd_boot
|
||||
bootdelay=3
|
||||
|
@ -3,6 +3,6 @@ loadaddr=0x81000000
|
||||
fdt_high=0xffffffff
|
||||
initrd_high=0xffffffff
|
||||
nor_boot=cp.b 60f00000 $fdtaddr 100000;cp.b 61000000 $loadaddr 1000000;bootm $loadaddr - $fdtaddr
|
||||
bootargs=root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1m(rcw),2m(u-boot),1m(u-boot-env),11m(reserved-1),1m(dtb),16m(kernel),32m(rootfs)
|
||||
bootargs=root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1m(rcw),2m(u-boot),1m(u-boot-env),11m(reserved-1),1m(dtb),16m(kernel),32m(rootfs) cma=64M@0x0-0xb0000000
|
||||
bootcmd=echo starting openwrt ...;run nor_boot
|
||||
bootdelay=3
|
||||
|
@ -4,6 +4,6 @@ fdt_high=0xffffffffffffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
hwconfig=fsl_ddr:bank_intlv=auto
|
||||
qspi_boot=sf probe 0:0;sf read $fdtaddr f00000 100000;sf read $loadaddr 1000000 1000000;bootm $loadaddr - $fdtaddr
|
||||
bootargs=ubi.mtd=9 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.quadspi:1m(bl2),4m(fip),1m(u-boot-env),3m(reserved-1),256k(fman),5888k(reserved-2),1m(dtb),16m(kernel),32m(ubifs)
|
||||
bootargs=ubi.mtd=9 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.spi-0:1m(bl2),4m(fip),1m(u-boot-env),3m(reserved-1),256k(fman),5888k(reserved-2),1m(dtb),16m(kernel),32m(ubifs)
|
||||
bootcmd=echo starting openwrt ...;run qspi_boot
|
||||
bootdelay=3
|
||||
|
@ -5,6 +5,6 @@ initrd_high=0xffffffffffffffff
|
||||
hwconfig=fsl_ddr:bank_intlv=auto
|
||||
mc_init=sf probe 0:0;sf read 80000000 a00000 300000;sf read 80300000 e00000 100000;fsl_mc start mc 80000000 80300000;sf read 80400000 d00000 100000;fsl_mc apply dpl 80400000
|
||||
qspi_boot=sf probe 0:0;sf read $fdtaddr f00000 100000;sf read $loadaddr 1000000 1000000;bootm $loadaddr - $fdtaddr
|
||||
bootargs=ubi.mtd=10 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=20c0000.quadspi:1m(bl2),4m(fip),1m(u-boot-env),4m(reserved-1),3m(mc),1m(dpl),1m(dpc),1m(dtb),16m(kernel),32m(ubifs)
|
||||
bootargs=ubi.mtd=10 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=20c0000.spi-0:1m(bl2),4m(fip),1m(u-boot-env),4m(reserved-1),3m(mc),1m(dpl),1m(dpc),1m(dtb),16m(kernel),32m(ubifs)
|
||||
bootcmd=echo starting openwrt ...;run mc_init;run qspi_boot
|
||||
bootdelay=3
|
||||
|
@ -1,28 +0,0 @@
|
||||
From 51f860f8293d834497c6f7f810fa4650cd82f9ac Mon Sep 17 00:00:00 2001
|
||||
From: Biwen Li <biwen.li@nxp.com>
|
||||
Date: Sat, 13 Apr 2019 14:21:47 +0800
|
||||
Subject: [PATCH] modify macro QSPI_NOR_BOOTCOMMAND of ls1046ardb for openwrt
|
||||
|
||||
Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
||||
---
|
||||
include/configs/ls1046ardb.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
|
||||
index cc1f5f5f55..925e717e4b 100644
|
||||
--- a/include/configs/ls1046ardb.h
|
||||
+++ b/include/configs/ls1046ardb.h
|
||||
@@ -217,8 +217,8 @@
|
||||
#ifndef SPL_NO_MISC
|
||||
#undef CONFIG_BOOTCOMMAND
|
||||
#ifdef CONFIG_TFABOOT
|
||||
-#define QSPI_NOR_BOOTCOMMAND "run distro_bootcmd; run qspi_bootcmd; " \
|
||||
- "env exists secureboot && esbc_halt;;"
|
||||
+#define QSPI_NOR_BOOTCOMMAND "echo (from QSPI_NOR_BOOTCOMMAND) starting openwrt; " \
|
||||
+ "run qspi_boot;"
|
||||
#define SD_BOOTCOMMAND "run distro_bootcmd;run sd_bootcmd; " \
|
||||
"env exists secureboot && esbc_halt;"
|
||||
#else
|
||||
--
|
||||
2.17.1
|
||||
|
@ -1,28 +0,0 @@
|
||||
From 2999d128bef554da5ca7a553dfe1c31061df9c5c Mon Sep 17 00:00:00 2001
|
||||
From: Biwen Li <biwen.li@nxp.com>
|
||||
Date: Sun, 14 Apr 2019 13:36:52 +0800
|
||||
Subject: [PATCH] modify macro QSPI_NOR_BOOTCOMMAND of ls1012afrwy for openwrt
|
||||
|
||||
Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
||||
---
|
||||
include/configs/ls1012afrwy.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h
|
||||
index 12e6437a05..900752970e 100644
|
||||
--- a/include/configs/ls1012afrwy.h
|
||||
+++ b/include/configs/ls1012afrwy.h
|
||||
@@ -122,8 +122,8 @@
|
||||
#undef CONFIG_BOOTCOMMAND
|
||||
#ifdef CONFIG_TFABOOT
|
||||
#undef QSPI_NOR_BOOTCOMMAND
|
||||
-#define QSPI_NOR_BOOTCOMMAND "pfe stop; run distro_bootcmd; run sd_bootcmd; "\
|
||||
- "env exists secureboot && esbc_halt;"
|
||||
+#define QSPI_NOR_BOOTCOMMAND "echo (from QSPI_NOR_BOOTCOMMAND) starting openwrt ...; "\
|
||||
+ "pfe stop; run sd_boot;"
|
||||
#else
|
||||
#define CONFIG_BOOTCOMMAND "pfe stop; run distro_bootcmd; run sd_bootcmd; "\
|
||||
"env exists secureboot && esbc_halt;"
|
||||
--
|
||||
2.17.1
|
||||
|
@ -1,28 +0,0 @@
|
||||
From 805c60e930a946560b52dfa83dd8e5fbdf2da15b Mon Sep 17 00:00:00 2001
|
||||
From: Biwen Li <biwen.li@nxp.com>
|
||||
Date: Sun, 14 Apr 2019 13:39:13 +0800
|
||||
Subject: [PATCH] modify macro QSPI_NOR_BOOTCOMMAND of ls1012ardb for openwrt
|
||||
|
||||
Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
||||
---
|
||||
include/configs/ls1012ardb.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
|
||||
index f6640fa499..51a2192c56 100644
|
||||
--- a/include/configs/ls1012ardb.h
|
||||
+++ b/include/configs/ls1012ardb.h
|
||||
@@ -115,8 +115,8 @@
|
||||
#undef CONFIG_BOOTCOMMAND
|
||||
#ifdef CONFIG_TFABOOT
|
||||
#undef QSPI_NOR_BOOTCOMMAND
|
||||
-#define QSPI_NOR_BOOTCOMMAND "pfe stop; run distro_bootcmd; run qspi_bootcmd; "\
|
||||
- "env exists secureboot && esbc_halt;"
|
||||
+#define QSPI_NOR_BOOTCOMMAND "echo (from QSPI_NOR_BOOTCOMMAND) starting openwrt ...; "\
|
||||
+ "pfe stop; run qspi_boot;"
|
||||
#else
|
||||
#define CONFIG_BOOTCOMMAND "pfe stop; run distro_bootcmd; run qspi_bootcmd; "\
|
||||
"env exists secureboot && esbc_halt;"
|
||||
--
|
||||
2.17.1
|
||||
|
@ -8,44 +8,32 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fman-ucode
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/NXP/qoriq-fm-ucode.git
|
||||
PKG_SOURCE_VERSION:=c275e91392e2adab1ed22f3867b8269ca3c54014
|
||||
PKG_MIRROR_HASH:=a630f1a86e4a67a0e390312291702560e3f64dd74fe6ccb8f3be4584d00c7f80
|
||||
PKG_MIRROR_HASH:=90b619ed501462b92f34f2fabfa09d6aaa5235990891d1c3132821c7d18a39bd
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/layerscape-fman-ls1043ardb
|
||||
define Package/layerscape-fman
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP LS1043ARDB FMan ucode
|
||||
TITLE:=NXP FMan ucode
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
CONFIG:=fsl_fman_ucode_ls1043_r1.1_106_4_18.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-fman-ls1046ardb
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP LS1046ARDB FMan ucode
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
CONFIG:=fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/layerscape-fman-ls1043ardb/install
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1043ardb-fman.bin
|
||||
$(CP) $(PKG_BUILD_DIR)/fsl_fman_ucode_ls1043_r1.1_106_4_18.bin \
|
||||
$(STAGING_DIR_IMAGE)/ls1043ardb-fman.bin
|
||||
$(CP) $(PKG_BUILD_DIR)/fsl_fman_ucode_ls1046_r1.0_106_4_18.bin \
|
||||
$(STAGING_DIR_IMAGE)/ls1046ardb-fman.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-fman-ls1046ardb/install
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1046ardb-fman.bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,layerscape-fman-ls1043ardb))
|
||||
$(eval $(call BuildPackage,layerscape-fman-ls1046ardb))
|
||||
$(eval $(call BuildPackage,layerscape-fman))
|
||||
|
@ -8,50 +8,38 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ls-dpl
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/mc-utils
|
||||
PKG_SOURCE_VERSION:=eeb8972a3d4137c87a54c2795452b17f254a68c7
|
||||
PKG_MIRROR_HASH:=e96e72793fb9fea1d4f5112d318059ea4c836d65c02852d207407edf13fc92af
|
||||
PKG_SOURCE_VERSION:=8672a5f5abcd3a354dcab07e03f2a8a69b2e962d
|
||||
PKG_MIRROR_HASH:=4b8ad3148aee1e0c034206543472aebb435655fd03a661c4c1be545dcac7ddf0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
define Package/layerscape-dpl-ls1088ardb
|
||||
define Package/layerscape-dpl
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP LS1088ARDB DPL firmware
|
||||
TITLE:=NXP DPL firmware
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
DPC_CONFIG:=config/ls1088a/RDB/dpc.0x1D-0x0D.dtb
|
||||
DPL_CONFIG:=config/ls1088a/RDB/dpl-eth.0x1D_0x0D.dtb
|
||||
endef
|
||||
|
||||
define Package/layerscape-dpl-ls2088ardb
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP LS2088ARDB DPL firmware
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
DPC_CONFIG:=config/ls2088a/RDB/dpc.0x2A_0x41.dtb
|
||||
DPL_CONFIG:=config/ls2088a/RDB/dpl-eth.0x2A_0x41.dtb
|
||||
endef
|
||||
|
||||
MAKE_PATH:=config
|
||||
MAKE_VARS+= \
|
||||
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH)
|
||||
|
||||
define Package/layerscape-dpl-ls1088ardb/install
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(DPL_CONFIG) $(STAGING_DIR_IMAGE)/ls1088ardb-dpl.dtb
|
||||
$(CP) $(PKG_BUILD_DIR)/$(DPC_CONFIG) $(STAGING_DIR_IMAGE)/ls1088ardb-dpc.dtb
|
||||
$(CP) $(PKG_BUILD_DIR)/config/ls1088a/RDB/dpl-eth.0x1D_0x0D.dtb \
|
||||
$(STAGING_DIR_IMAGE)/ls1088ardb-dpl.dtb
|
||||
$(CP) $(PKG_BUILD_DIR)/config/ls1088a/RDB/dpc.0x1D-0x0D.dtb \
|
||||
$(STAGING_DIR_IMAGE)/ls1088ardb-dpc.dtb
|
||||
$(CP) $(PKG_BUILD_DIR)/config/ls2088a/RDB/dpl-eth.0x2A_0x41.dtb \
|
||||
$(STAGING_DIR_IMAGE)/ls2088ardb-dpl.dtb
|
||||
$(CP) $(PKG_BUILD_DIR)/config/ls2088a/RDB/dpc.0x2A_0x41.dtb \
|
||||
$(STAGING_DIR_IMAGE)/ls2088ardb-dpc.dtb
|
||||
endef
|
||||
|
||||
define Package/layerscape-dpl-ls2088ardb/install
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(DPL_CONFIG) $(STAGING_DIR_IMAGE)/ls2088ardb-dpl.dtb
|
||||
$(CP) $(PKG_BUILD_DIR)/$(DPC_CONFIG) $(STAGING_DIR_IMAGE)/ls2088ardb-dpc.dtb
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,layerscape-dpl-ls1088ardb))
|
||||
$(eval $(call BuildPackage,layerscape-dpl-ls2088ardb))
|
||||
$(eval $(call BuildPackage,layerscape-dpl))
|
||||
|
@ -8,44 +8,32 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ls-mc
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/NXP/qoriq-mc-binary.git
|
||||
PKG_SOURCE_VERSION:=bd64d1824681b009fd83b0a3699e45b117b72695
|
||||
PKG_MIRROR_HASH:=17ecfd780b8d884b3843d2b8fbcaf29410fdacdc03ab3fe81ae7ade994d7fc0a
|
||||
PKG_SOURCE_VERSION:=f73683596a7b72124d67b62e64f3dc2bb36b9321
|
||||
PKG_MIRROR_HASH:=1cba30c2a6814763c3e155c1cc5fa21998bb6ad5814fcb09e99f98bf36f65d9e
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/layerscape-mc-ls1088ardb
|
||||
define Package/layerscape-mc
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP LS1088ARDB MC firmware
|
||||
TITLE:=NXP MC firmware
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
CONFIG:=ls1088a/mc_10.14.3_ls1088a.itb
|
||||
endef
|
||||
|
||||
define Package/layerscape-mc-ls2088ardb
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP LS2088ARDB MC firmware
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
CONFIG:=ls2088a/mc_10.14.3_ls2088a.itb
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/layerscape-mc-ls1088ardb/install
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls1088ardb-mc.itb
|
||||
$(CP) $(PKG_BUILD_DIR)/ls1088a/mc_10.20.4_ls1088a.itb \
|
||||
$(STAGING_DIR_IMAGE)/ls1088ardb-mc.itb
|
||||
$(CP) $(PKG_BUILD_DIR)/ls2088a/mc_10.20.4_ls2088a.itb \
|
||||
$(STAGING_DIR_IMAGE)/ls2088ardb-mc.itb
|
||||
endef
|
||||
|
||||
define Package/layerscape-mc-ls2088ardb/install
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/ls2088ardb-mc.itb
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,layerscape-mc-ls1088ardb))
|
||||
$(eval $(call BuildPackage,layerscape-mc-ls2088ardb))
|
||||
$(eval $(call BuildPackage,layerscape-mc))
|
||||
|
@ -8,91 +8,26 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ls-rcw
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/rcw
|
||||
PKG_SOURCE_VERSION:=f1377876cc06a87ec8afa8a3412ca7c8455861f2
|
||||
PKG_MIRROR_HASH:=a9c97755809994a668ee5f0e535cef9f344fc5523c4299ac76f26c63976c80bc
|
||||
PKG_SOURCE_VERSION:=5689bf9c9f087f50aaa0d91b43d8a791fedbedd3
|
||||
PKG_MIRROR_HASH:=45709aa92f84fea8100b472a29762bfe69a333e6aca7a4fc4edc8cc3e10bf44e
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/layerscape-rcw/Config
|
||||
define Package/layerscape-rcw-$(1)
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=$(2)
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
CONFIG:=$(3)
|
||||
endef
|
||||
define Package/layerscape-rcw
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
TITLE:=NXP Layerscape RCW binaries
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1012afrdm
|
||||
TITLE:=NXP LS1012AFRDM RCW binary
|
||||
CONFIG:=ls1012afrdm/N_SSNP_3305/rcw_800.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1012ardb
|
||||
TITLE:=NXP LS1012ARDB RCW binary
|
||||
CONFIG:=ls1012ardb/R_SPNH_3508/rcw_1000_default.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1012afrwy
|
||||
TITLE:=NXP LS1012AFRWY RCW binary
|
||||
CONFIG:=ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1043ardb
|
||||
TITLE:=NXP LS1043ARDB RCW binary
|
||||
CONFIG:=ls1043ardb/RR_FQPP_1455/rcw_1600.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1043ardb-sdboot
|
||||
TITLE:=NXP LS1043ARDB SD card boot RCW binary
|
||||
CONFIG:=ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1046ardb
|
||||
TITLE:=NXP LS1046ARDB RCW binary
|
||||
CONFIG:=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1046ardb-sdboot
|
||||
TITLE:=NXP LS1046ARDB SD card boot RCW binary
|
||||
CONFIG:=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1088ardb
|
||||
TITLE:=NXP LS1088ARDB RCW binary
|
||||
CONFIG:=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1088ardb-sdboot
|
||||
TITLE:=NXP LS1088ARDB SD card boot RCW binary
|
||||
CONFIG:=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls2088ardb
|
||||
TITLE:=NXP LS2088ARDB RCW binary
|
||||
CONFIG:=ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/ls1021atwr
|
||||
TITLE:=NXP LS1021ATWR RCW binary
|
||||
CONFIG:=ls1021atwr/SSR_PNS_30/rcw_1200.bin
|
||||
endef
|
||||
|
||||
define Package/layerscape-rcw/Install
|
||||
define Package/layerscape-rcw-$(1)/install
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/$(1)-rcw.bin
|
||||
endef
|
||||
endef
|
||||
|
||||
RCWS := \
|
||||
ls1012afrdm \
|
||||
BOARDS := \
|
||||
ls1012ardb \
|
||||
ls1012afrdm \
|
||||
ls1012afrwy \
|
||||
ls1043ardb \
|
||||
ls1043ardb-sdboot \
|
||||
@ -103,9 +38,22 @@ RCWS := \
|
||||
ls2088ardb \
|
||||
ls1021atwr
|
||||
|
||||
$(foreach rcw,$(RCWS), \
|
||||
$(eval $(Package/layerscape-rcw/$(rcw))) \
|
||||
$(eval $(call Package/layerscape-rcw/Config,$(rcw),$(TITLE),$(CONFIG))) \
|
||||
$(eval $(call Package/layerscape-rcw/Install,$(rcw))) \
|
||||
$(eval $(call BuildPackage,layerscape-rcw-$(rcw))) \
|
||||
)
|
||||
RCW_ls1012ardb :=ls1012ardb/R_SPNH_3508/rcw_1000_default.bin
|
||||
RCW_ls1012afrdm :=ls1012afrdm/N_SSNP_3305/rcw_800.bin
|
||||
RCW_ls1012afrwy :=ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin
|
||||
RCW_ls1043ardb :=ls1043ardb/RR_FQPP_1455/rcw_1600.bin
|
||||
RCW_ls1043ardb-sdboot :=ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin
|
||||
RCW_ls1046ardb :=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
|
||||
RCW_ls1046ardb-sdboot :=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin
|
||||
RCW_ls1088ardb :=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin
|
||||
RCW_ls1088ardb-sdboot :=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin
|
||||
RCW_ls2088ardb :=ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
|
||||
RCW_ls1021atwr :=ls1021atwr/SSR_PNS_30/rcw_1200.bin
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
$(foreach board,$(BOARDS), \
|
||||
$(CP) $(PKG_BUILD_DIR)/$(RCW_$(board)) $(STAGING_DIR_IMAGE)/$(board)-rcw.bin;)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,layerscape-rcw))
|
||||
|
@ -1,44 +0,0 @@
|
||||
From ef78dc0683a7f5ae80b27878a8a2f91d504e3290 Mon Sep 17 00:00:00 2001
|
||||
From: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
Date: Wed, 19 Jun 2019 10:50:29 +0800
|
||||
Subject: [PATCH 1/2] Disable byte swapping
|
||||
|
||||
Because TF-A had already handled rcw byte swapping, the
|
||||
byte swapping in rcw could be dropped.
|
||||
|
||||
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
---
|
||||
Makefile | 4 ----
|
||||
Makefile.inc | 1 -
|
||||
2 files changed, 5 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index f697241..837b69e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -14,10 +14,6 @@ TCLSH := $(shell command -v tclsh 2> /dev/null)
|
||||
VER = $(shell git describe --tags)
|
||||
|
||||
all install clean:
|
||||
-ifndef TCLSH
|
||||
- $(error "tclsh is not available. please install it.")
|
||||
- exit 1
|
||||
-endif
|
||||
@for board in $(BOARDS); do \
|
||||
$(MAKE) -C $$board $@ DESTDIR=$(DESTDIR)/$$board; \
|
||||
done
|
||||
diff --git a/Makefile.inc b/Makefile.inc
|
||||
index 87639bc..7d9a3d3 100644
|
||||
--- a/Makefile.inc
|
||||
+++ b/Makefile.inc
|
||||
@@ -17,7 +17,6 @@ targets = $(txt_sources:.txt=.bin) $(rcw_sources:.rcw=.bin) $(swap_sources)
|
||||
$(RCW) -i $< -o $@
|
||||
|
||||
all: $(targets)
|
||||
- $(QSPI_SWAP_SCRIPT) $(QSPI_SWAP_LIST)
|
||||
|
||||
install: $(targets)
|
||||
$(INSTALL) -d $(DESTDIR)
|
||||
--
|
||||
2.7.4
|
||||
|
@ -0,0 +1,35 @@
|
||||
From 786d501c32b9341d381b3371234213f92d948b66 Mon Sep 17 00:00:00 2001
|
||||
From: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
Date: Fri, 13 Mar 2020 18:15:36 +0800
|
||||
Subject: [PATCH] Remove tclsh checking
|
||||
|
||||
The tclsh is no longer needed for byte swapping.
|
||||
|
||||
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
---
|
||||
Makefile | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 9183e19..2832ab2 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -12,15 +12,9 @@ BOARDS = b4420qds b4860qds \
|
||||
t1024qds t1023rdb t1024rdb t1040rdb t1042rdb t1042rdb_pi t1040qds \
|
||||
t2080rdb t2080qds t2081qds t4240qds t4240rdb t1040d4rdb t1042d4rdb
|
||||
|
||||
-TCLSH := $(shell command -v tclsh 2> /dev/null)
|
||||
-
|
||||
VER = $(shell git describe --tags)
|
||||
|
||||
all install clean:
|
||||
-ifndef TCLSH
|
||||
- $(error "tclsh is not available. please install it.")
|
||||
- exit 1
|
||||
-endif
|
||||
@for board in $(BOARDS); do \
|
||||
$(MAKE) -C $$board $@ DESTDIR=$(DESTDIR)/$$board; \
|
||||
done
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,504 +0,0 @@
|
||||
From 7bd43eb9e5cdf2035793d50a31bf13052eb9812a Mon Sep 17 00:00:00 2001
|
||||
From: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
Date: Wed, 19 Jun 2019 10:25:41 +0800
|
||||
Subject: [PATCH 2/2] Convert to python3
|
||||
|
||||
Python 2.7 will not be maintained past 2020. Let's convert
|
||||
to python3 for rcw. Below were the changes of this patch.
|
||||
- Adapted print usage
|
||||
- Didn't use tab anymore
|
||||
- Handled str and bytes type separately
|
||||
- Other minor changes
|
||||
|
||||
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
---
|
||||
Makefile.inc | 2 +-
|
||||
rcw.py | 144 +++++++++++++++++++++++++++++------------------------------
|
||||
2 files changed, 73 insertions(+), 73 deletions(-)
|
||||
|
||||
diff --git a/Makefile.inc b/Makefile.inc
|
||||
index 7d9a3d3..8bee2be 100644
|
||||
--- a/Makefile.inc
|
||||
+++ b/Makefile.inc
|
||||
@@ -1,6 +1,6 @@
|
||||
DESTDIR = $(shell basename $(CURDIR))
|
||||
INSTALL = install
|
||||
-PYTHON ?= python2
|
||||
+PYTHON ?= python3
|
||||
RCW = $(PYTHON) ../rcw.py
|
||||
QSPI_SWAP_LIST = $(shell pwd)/../qspi_swap_list.txt
|
||||
QSPI_SWAP_SCRIPT=$(shell pwd)/../qspi_swap.sh
|
||||
diff --git a/rcw.py b/rcw.py
|
||||
index e5cd28b..619770a 100755
|
||||
--- a/rcw.py
|
||||
+++ b/rcw.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python2
|
||||
+#!/usr/bin/env python3
|
||||
|
||||
# rcw.py -- compiles an RCW source file into an PBL/RCW binary
|
||||
|
||||
@@ -95,7 +95,7 @@ from optparse import OptionParser, OptionGroup
|
||||
class ordered_dict(dict):
|
||||
def __init__(self, *args, **kwargs):
|
||||
dict.__init__(self, *args, **kwargs)
|
||||
- self._order = self.keys()
|
||||
+ self._order = list(self.keys())
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
dict.__setitem__(self, key, value)
|
||||
@@ -132,7 +132,7 @@ def crc32(data):
|
||||
|
||||
crc = 0xffffffff
|
||||
for i in data:
|
||||
- crc = (crc << 8) ^ table[(crc >> 24) ^ ord(i)]
|
||||
+ crc = (crc << 8) ^ table[(crc >> 24) ^ int(i)]
|
||||
crc = crc & 0xffffffff
|
||||
|
||||
return crc
|
||||
@@ -187,7 +187,7 @@ def command_line():
|
||||
options.output = '/dev/stdout'
|
||||
|
||||
if options.reverse and not options.rcwi:
|
||||
- print "Error: -r option requires --rcw"
|
||||
+ print("Error: -r option requires --rcw")
|
||||
sys.exit(1)
|
||||
|
||||
# Checks if the bits for the given field overlap those of another field that
|
||||
@@ -196,27 +196,27 @@ def check_for_overlap(name, begin, end):
|
||||
global symbols
|
||||
|
||||
if name in symbols:
|
||||
- print 'Error: Duplicate bitfield definition for', name
|
||||
+ print('Error: Duplicate bitfield definition for', name)
|
||||
return
|
||||
|
||||
# Iterate over the list of symbols that have already been defined
|
||||
- for n, [b, e] in symbols.iteritems():
|
||||
+ for n, [b, e] in symbols.items():
|
||||
# check if either 'begin' or 'end' is inside an bitfield range
|
||||
if (b <= begin <= e) or (b <= end <= e):
|
||||
- print 'Error: Bitfield', name, 'overlaps with', n
|
||||
+ print('Error: Bitfield', name, 'overlaps with', n)
|
||||
|
||||
#
|
||||
# Build a u-boot PBI section for SPI/SD/NAND boot
|
||||
-# refer: Chapter 10, u-boot of QorIQ_SDK_Infocenter.pdf
|
||||
+# refer: Chapter 10, u-boot of QorIQ_SDK_Infocenter.pdf
|
||||
#
|
||||
# pre-cond 1: u-boot.xxd should be created
|
||||
# how to create u-boot.xxd
|
||||
-# xxd u-boot.bin > u-boot.xxd1 && cut -d " " -f1-10 u-boot.xxd1 > u-boot.xxd && rm -f u-boot.xxd1
|
||||
+# xxd u-boot.bin > u-boot.xxd1 && cut -d " " -f1-10 u-boot.xxd1 > u-boot.xxd && rm -f u-boot.xxd1
|
||||
#
|
||||
# rcw file should include spi_boot.rcw as well
|
||||
#
|
||||
def build_pbi_uboot(lines):
|
||||
- subsection = ''
|
||||
+ subsection = b''
|
||||
cnt = 1
|
||||
l_tmp = []
|
||||
|
||||
@@ -224,55 +224,55 @@ def build_pbi_uboot(lines):
|
||||
for l in lines:
|
||||
# prepare 0x40 per lines except the last one
|
||||
# add flush at the end
|
||||
- lstr = l.split()
|
||||
- addr = int(lstr[0][:-1], 16)
|
||||
+ lstr = l.split()
|
||||
+ addr = int(lstr[0][:-1], 16)
|
||||
|
||||
# print l
|
||||
#
|
||||
# last two lines take 0x20 numbers
|
||||
#
|
||||
- if ((cnt % 2 == 0) and (cnt > len(lines) -4)):
|
||||
+ if ((cnt % 2 == 0) and (cnt > len(lines) -4)):
|
||||
l_tmp.append(l)
|
||||
b = []
|
||||
|
||||
- for t in l_tmp:
|
||||
+ for t in l_tmp:
|
||||
lstr = t.split()
|
||||
|
||||
- for i in range(1, len(lstr)):
|
||||
+ for i in range(1, len(lstr)):
|
||||
b.append(int(lstr[i], 16))
|
||||
|
||||
subsection += struct.pack('>LHHHHHHHHHHHHHHHH',\
|
||||
- 0x0C1F80000 + (addr - 0x10),\
|
||||
- b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7],\
|
||||
- b[8], b[9], b[10], b[11], b[12], b[13], b[14], b[15])
|
||||
+ 0x0C1F80000 + (addr - 0x10),\
|
||||
+ b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7],\
|
||||
+ b[8], b[9], b[10], b[11], b[12], b[13], b[14], b[15])
|
||||
l_tmp = []
|
||||
#
|
||||
# the rest of lines take 0x40 numbers
|
||||
elif (cnt % 4 == 0):
|
||||
l_tmp.append(l)
|
||||
- b = []
|
||||
- for t in l_tmp:
|
||||
+ b = []
|
||||
+ for t in l_tmp:
|
||||
lstr = t.split()
|
||||
- for i in range(1, len(lstr)):
|
||||
+ for i in range(1, len(lstr)):
|
||||
b.append(int(lstr[i], 16))
|
||||
|
||||
subsection += struct.pack('>LHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH',\
|
||||
- 0x081F80000 + (addr - 0x30),\
|
||||
- b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7],\
|
||||
- b[8], b[9], b[10], b[11], b[12], b[13], b[14], b[15],\
|
||||
- b[16], b[17], b[18], b[19], b[20], b[21], b[22], b[23], \
|
||||
- b[24], b[25], b[26], b[27], b[28], b[29], b[30], b[31])
|
||||
+ 0x081F80000 + (addr - 0x30),\
|
||||
+ b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7],\
|
||||
+ b[8], b[9], b[10], b[11], b[12], b[13], b[14], b[15],\
|
||||
+ b[16], b[17], b[18], b[19], b[20], b[21], b[22], b[23], \
|
||||
+ b[24], b[25], b[26], b[27], b[28], b[29], b[30], b[31])
|
||||
l_tmp = []
|
||||
else:
|
||||
l_tmp.append(l)
|
||||
|
||||
- cnt = cnt + 1
|
||||
+ cnt = cnt + 1
|
||||
|
||||
return subsection
|
||||
|
||||
# Build a PBI section
|
||||
def build_pbi(lines):
|
||||
- subsection = ''
|
||||
+ subsection = b''
|
||||
global vars
|
||||
|
||||
if 'pbiformat' in vars:
|
||||
@@ -286,9 +286,9 @@ def build_pbi(lines):
|
||||
for l in lines:
|
||||
# Check for an instruction without 0-2 parameters
|
||||
# The + ' ' is a hack to make the regex work for just 'flush'
|
||||
- m = re.match(r'\s*([a-z]+)(|\.b1|\.b2|\.b4|\.short|\.long)\s*(?<=\s)([^,]*),?([^,]*),?([^,]*),?([^,]*)', l + ' ')
|
||||
+ m = re.match(r'\s*([a-z]+)(|\.b1|\.b2|\.b4|\.short|\.long)\s*(?<=\s)([^,]*),?([^,]*),?([^,]*),?([^,]*)', l.decode("ascii") + ' ')
|
||||
if not m:
|
||||
- print 'Unknown PBI subsection command "%s"' % l
|
||||
+ print('Unknown PBI subsection command "%s"' % l)
|
||||
return ''
|
||||
op = m.group(1)
|
||||
opsize = m.group(2)
|
||||
@@ -306,7 +306,7 @@ def build_pbi(lines):
|
||||
p4 = eval(p4, {"__builtins__":None}, {}) if len(p4) else None
|
||||
if op == 'wait':
|
||||
if p1 == None:
|
||||
- print 'Error: "wait" instruction requires one parameter'
|
||||
+ print('Error: "wait" instruction requires one parameter')
|
||||
return ''
|
||||
if pbiformat == 2:
|
||||
v1 = struct.pack(endianess + 'L', 0x80820000 | p1)
|
||||
@@ -318,7 +318,7 @@ def build_pbi(lines):
|
||||
subsection += v2
|
||||
elif op == 'write':
|
||||
if p1 == None or p2 == None:
|
||||
- print 'Error: "write" instruction requires two parameters'
|
||||
+ print('Error: "write" instruction requires two parameters')
|
||||
return ''
|
||||
if pbiformat == 2:
|
||||
v1 = struct.pack(endianess + 'L', (opsizebytes << 28) | p1)
|
||||
@@ -329,7 +329,7 @@ def build_pbi(lines):
|
||||
subsection += v2
|
||||
elif op == 'awrite':
|
||||
if p1 == None or p2 == None:
|
||||
- print 'Error: "awrite" instruction requires two parameters'
|
||||
+ print('Error: "awrite" instruction requires two parameters')
|
||||
return ''
|
||||
if pbiformat == 2:
|
||||
v1 = struct.pack(endianess + 'L', 0x80000000 + (opsizebytes << 26) + p1)
|
||||
@@ -340,10 +340,10 @@ def build_pbi(lines):
|
||||
subsection += v2
|
||||
elif op == 'poll':
|
||||
if pbiformat != 2:
|
||||
- print 'Error: "poll" not support for old PBI format'
|
||||
+ print('Error: "poll" not support for old PBI format')
|
||||
return ''
|
||||
if p1 == None or p2 == None or p3 == None:
|
||||
- print 'Error: "poll" instruction requires three parameters'
|
||||
+ print('Error: "poll" instruction requires three parameters')
|
||||
return ''
|
||||
if opsize == '.long':
|
||||
cmd = 0x81
|
||||
@@ -357,19 +357,19 @@ def build_pbi(lines):
|
||||
subsection += v3
|
||||
elif op == 'loadacwindow':
|
||||
if pbiformat != 2:
|
||||
- print 'Error: "loadacwindow" not supported for old PBI format'
|
||||
+ print('Error: "loadacwindow" not supported for old PBI format')
|
||||
return ''
|
||||
if p1 == None:
|
||||
- print 'Error: "loadacwindow" instruction requires one parameter'
|
||||
+ print('Error: "loadacwindow" instruction requires one parameter')
|
||||
return ''
|
||||
v1 = struct.pack(endianess + 'L', 0x80120000 + p1)
|
||||
subsection += v1
|
||||
elif op == 'blockcopy':
|
||||
if pbiformat != 2:
|
||||
- print 'Error: "blockcopy" not supported for old PBI format'
|
||||
+ print('Error: "blockcopy" not supported for old PBI format')
|
||||
return ''
|
||||
if p1 == None or p2 == None or p3 == None or p4 == None:
|
||||
- print 'Error: "blockcopy" instruction requires four parameters'
|
||||
+ print('Error: "blockcopy" instruction requires four parameters')
|
||||
return ''
|
||||
v1 = struct.pack(endianess + 'L', 0x80000000 + (p1 & 0xff))
|
||||
v2 = struct.pack(endianess + 'L', p2)
|
||||
@@ -382,7 +382,7 @@ def build_pbi(lines):
|
||||
elif op == 'flush':
|
||||
subsection += struct.pack('>LL', 0x09000000 | (int(vars['pbladdr'], 16) & 0x00ffff00), 0)
|
||||
else:
|
||||
- print 'Unknown PBI subsection command "%s"' % l
|
||||
+ print('Unknown PBI subsection command "%s"' % l)
|
||||
return ''
|
||||
|
||||
return subsection
|
||||
@@ -394,7 +394,7 @@ def parse_subsection(header, lines):
|
||||
elif header == "uboot":
|
||||
return build_pbi_uboot(lines)
|
||||
|
||||
- print 'Error: unknown subsection "%s"' % header
|
||||
+ print('Error: unknown subsection "%s"' % header)
|
||||
return ''
|
||||
|
||||
# Parse the .rcw file, one line at a time
|
||||
@@ -408,10 +408,10 @@ def parse_source_file(source):
|
||||
symbols = ordered_dict()
|
||||
|
||||
in_subsection = False # True == we're in a subsection
|
||||
- pbi = ''
|
||||
+ pbi = b''
|
||||
|
||||
for l2 in source:
|
||||
- l = re.sub(r'\s+', '', l2) # Remove all whitespace
|
||||
+ l = re.sub(r'\s+', '', l2.decode("ascii")) # Remove all whitespace
|
||||
|
||||
if not len(l): # Skip blank or comment-only lines
|
||||
continue
|
||||
@@ -466,14 +466,14 @@ def parse_source_file(source):
|
||||
(name, value) = m.groups()
|
||||
value = int(value, 0)
|
||||
if not name in symbols:
|
||||
- print 'Error: Unknown bitfield', name
|
||||
+ print('Error: Unknown bitfield', name)
|
||||
else:
|
||||
if options.warnings and (name in assignments):
|
||||
- print 'Warning: Duplicate assignment for bitfield', name
|
||||
+ print('Warning: Duplicate assignment for bitfield', name)
|
||||
assignments[name] = value
|
||||
continue
|
||||
|
||||
- print 'Error: unknown command', ' '.join(l2)
|
||||
+ print('Error: unknown command', ' '.join(l2))
|
||||
|
||||
# Parse the -D command line parameter for additional bitfield assignments
|
||||
def parse_cmdline_bitfields():
|
||||
@@ -484,12 +484,12 @@ def parse_cmdline_bitfields():
|
||||
# This is the same regex as used in parse_source_file()
|
||||
m = re.search(r'([A-Z0-9_]+)=([0-9a-zA-Z]+)', l)
|
||||
if not m:
|
||||
- print 'Unrecognized command-line bitfield:', l
|
||||
+ print('Unrecognized command-line bitfield:', l)
|
||||
else:
|
||||
(name, value) = m.groups()
|
||||
value = int(value, 0)
|
||||
if not name in symbols:
|
||||
- print 'Error: Unknown bitfield', name
|
||||
+ print('Error: Unknown bitfield', name)
|
||||
else:
|
||||
# Don't bother printing a warning, since the command-line will
|
||||
# normally be used to overwrite values in the .rcw file
|
||||
@@ -510,7 +510,7 @@ def read_source_file(filename):
|
||||
global options
|
||||
|
||||
if not find_program('gcc'):
|
||||
- print 'Could not find gcc in PATH'
|
||||
+ print('Could not find gcc in PATH')
|
||||
return None
|
||||
|
||||
i = ['-I', '.'] # Always look in the current directory
|
||||
@@ -521,7 +521,7 @@ def read_source_file(filename):
|
||||
shell=False, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
ret = p.communicate()
|
||||
if p.returncode != 0:
|
||||
- print ret[1],
|
||||
+ print(ret[1],)
|
||||
return None
|
||||
|
||||
return ret[0].splitlines()
|
||||
@@ -532,13 +532,13 @@ def check_vars():
|
||||
global options
|
||||
|
||||
if not 'size' in vars:
|
||||
- print 'Error: "%size" variable must be specified'
|
||||
+ print('Error: "%size" variable must be specified')
|
||||
sys.exit(1)
|
||||
|
||||
if options.pbl:
|
||||
if 'pbiformat' in vars and int(vars['pbiformat'], 0) == 2:
|
||||
if 'sysaddr' in vars:
|
||||
- print 'Error: PBL format does not use %sysaddr'
|
||||
+ print('Error: PBL format does not use %sysaddr')
|
||||
sys.exit(1)
|
||||
#if 'pbladdr' in vars:
|
||||
# print 'Error: PBL format does not use %pbladdr'
|
||||
@@ -546,7 +546,7 @@ def check_vars():
|
||||
else:
|
||||
# If we want the PBL header/footer, the vars for those must be defined
|
||||
if not 'sysaddr' in vars:
|
||||
- print 'Error: PBL format requires %sysaddr to be defined'
|
||||
+ print('Error: PBL format requires %sysaddr to be defined')
|
||||
sys.exit(1)
|
||||
|
||||
# Create a .bin file
|
||||
@@ -581,7 +581,7 @@ def create_binary():
|
||||
dont64bswapcrc = 0
|
||||
if 'dont64bswapcrc' in vars and int(vars['dont64bswapcrc'], 0):
|
||||
dont64bswapcrc = 1
|
||||
- bits = 0L
|
||||
+ bits = 0
|
||||
|
||||
# Magic hack. If a pbi is specified and we didn't set the size,
|
||||
# set it for the new format!
|
||||
@@ -593,7 +593,7 @@ def create_binary():
|
||||
pbilen += 2
|
||||
assignments['PBI_LENGTH'] = pbilen
|
||||
|
||||
- for n, v in assignments.iteritems():
|
||||
+ for n, v in assignments.items():
|
||||
# n = name of symbol
|
||||
# v = value to assign
|
||||
bb, ee = symbols[n] # First bit and last bit
|
||||
@@ -603,13 +603,13 @@ def create_binary():
|
||||
|
||||
# Make sure it's not too large
|
||||
if v >= (1 << s):
|
||||
- print 'Error: Value', v, 'is too large for field', n
|
||||
+ print('Error: Value', v, 'is too large for field', n)
|
||||
continue
|
||||
|
||||
# If we treat the bitfield as "classic" numbered, reverse
|
||||
# the value before adding it!
|
||||
if b != bb:
|
||||
- v = int(bin(v)[2:].zfill(s)[::-1], 2)
|
||||
+ v = int(bin(int(v))[2:].zfill(s)[::-1], 2)
|
||||
|
||||
# Set the bits. We assume that bits [b:e] are already zero. They can be
|
||||
# non-zero only if we have overlapping bitfield definitions, which we
|
||||
@@ -617,7 +617,7 @@ def create_binary():
|
||||
bits += v << ((size - 1) - e)
|
||||
|
||||
# Generate the binary. First, apply the preamble, if requested
|
||||
- binary = ''
|
||||
+ binary = b''
|
||||
if options.pbl:
|
||||
# Starting with LS2, we have a larger field and a different
|
||||
# format.
|
||||
@@ -626,7 +626,7 @@ def create_binary():
|
||||
# Load RCW command
|
||||
binary += struct.pack(endianess + 'L', 0x80100000)
|
||||
else:
|
||||
- length_byte = (((size / 8) & 63) << 1) | 1
|
||||
+ length_byte = (((size // 8) & 63) << 1) | 1
|
||||
binary += struct.pack(endianess + 'L', (length_byte << 24) | (int(vars['sysaddr'], 16) & 0x00ffffff))
|
||||
|
||||
# Then convert 'bits' into an array of bytes
|
||||
@@ -634,7 +634,7 @@ def create_binary():
|
||||
byte = bits >> i & 0xff
|
||||
if classicbitnumbers:
|
||||
byte = int(bin(byte)[2:].zfill(8)[::-1], 2)
|
||||
- binary += chr(byte)
|
||||
+ binary += bytes([byte])
|
||||
|
||||
if options.pbl:
|
||||
if pbiformat == 2:
|
||||
@@ -672,11 +672,11 @@ def create_binary():
|
||||
# Precise bit any byte ordering of the CRC calculation is
|
||||
# not clearly specified. This is empirical.
|
||||
if classicbitnumbers:
|
||||
- newcrcbinary = ''
|
||||
+ newcrcbinary = b''
|
||||
for c in crcbinary:
|
||||
- byte = ord(c)
|
||||
+ byte = int(c)
|
||||
byte = int(bin(byte)[2:].zfill(8)[::-1], 2)
|
||||
- newcrcbinary += chr(byte)
|
||||
+ newcrcbinary += bytes([byte])
|
||||
crcbinary = newcrcbinary
|
||||
|
||||
# Calculate and add the CRC
|
||||
@@ -693,7 +693,7 @@ def create_binary():
|
||||
l = len(binary)
|
||||
if dont64bswapcrc and options.pbl:
|
||||
l -= 8
|
||||
- newbinary = ''
|
||||
+ newbinary = b''
|
||||
for i in range(0, l, 8):
|
||||
x64 = struct.unpack('>Q', binary[i:i + 8])[0]
|
||||
newbinary += struct.pack('<Q', x64)
|
||||
@@ -771,7 +771,7 @@ def create_source():
|
||||
# We skip the checksum field
|
||||
pbi = binary[8 + (size / 8) + 4:]
|
||||
else:
|
||||
- print 'Weird binary RCW format!'
|
||||
+ print('Weird binary RCW format!')
|
||||
bitbytes = ''
|
||||
else:
|
||||
if binary[0:4] == preambletst:
|
||||
@@ -780,7 +780,7 @@ def create_source():
|
||||
bitbytes = rcw
|
||||
pbi = binary[8 + (size / 8):]
|
||||
else:
|
||||
- print 'Weird binary RCW format!'
|
||||
+ print('Weird binary RCW format!')
|
||||
bitbytes = ''
|
||||
else:
|
||||
bitbytes = binary
|
||||
@@ -827,16 +827,16 @@ def create_source():
|
||||
bits &= ~(mask << shift)
|
||||
|
||||
if bits:
|
||||
- print 'Unknown bits in positions:',
|
||||
+ print('Unknown bits in positions:',)
|
||||
mask = 1
|
||||
n = 0
|
||||
while bits:
|
||||
if (bits & mask):
|
||||
- print n,
|
||||
+ print(n,)
|
||||
n += 1
|
||||
bits &= ~mask
|
||||
mask <<= 1
|
||||
- print
|
||||
+ print()
|
||||
|
||||
if len(pbi) > 0:
|
||||
l = len(pbi)
|
||||
@@ -953,7 +953,7 @@ def create_source():
|
||||
if cnt == 0:
|
||||
cnt = 64
|
||||
if i + cnt >= l:
|
||||
- print 'Error in write 0x%08x at offset %d within PBI\n' % (word, i)
|
||||
+ print('Error in write 0x%08x at offset %d within PBI\n' % (word, i))
|
||||
if (addr & 0x00ffff00 == pbladdr):
|
||||
arg1 = struct.unpack(endianess + 'L', pbi[i:i+4])[0]
|
||||
i += 4
|
||||
@@ -986,8 +986,8 @@ def create_source():
|
||||
|
||||
return source
|
||||
|
||||
-if (sys.version_info < (2,6)) or (sys.version_info >= (3,0)):
|
||||
- print 'Only Python versions 2.6 or 2.7 are supported.'
|
||||
+if (sys.version_info < (3,0)):
|
||||
+ print('Only Python versions 3.0+ are supported.')
|
||||
sys.exit(1)
|
||||
|
||||
# Make all 'print' statements output to stderr instead of stdout
|
||||
--
|
||||
2.7.4
|
||||
|
@ -8,13 +8,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ppfe
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/NXP/qoriq-engine-pfe-bin.git
|
||||
PKG_SOURCE_VERSION:=58aa0cac630528ed91fe5639700d6b571c0c07b5
|
||||
PKG_MIRROR_HASH:=1234a86e879f2eecd3ac4852bb39e4189b03bb659bec228a1d1ccae5ac0229e6
|
||||
PKG_SOURCE_VERSION:=d3a8ef0760c54ddc243039c86389497e37be90ab
|
||||
PKG_MIRROR_HASH:=64be93b8249d298e7b5fd0846787835f0659b6ab6c55b40b809366c79e272eb8
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -11,12 +11,12 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=wireguard
|
||||
|
||||
PKG_VERSION:=1.0.20200429
|
||||
PKG_VERSION:=1.0.20200506
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=wireguard-linux-compat-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://git.zx2c4.com/wireguard-linux-compat/snapshot/
|
||||
PKG_HASH:=c0050a94c33c195d4129a75ab4dca05ba021c5265e40fce8b2dfda7d7055cda2
|
||||
PKG_HASH:=98a99f2b825a82d57a7213e666f1ee4f7cc02bddb09bf4908b4b09447a8f121e
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
@ -8,13 +8,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=restool
|
||||
PKG_VERSION:=lsdk-1903
|
||||
PKG_VERSION:=LSDK-20.04
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/restool
|
||||
PKG_SOURCE_VERSION:=8b1dd407bbd48b4f1a50c71b78083112a6397619
|
||||
PKG_MIRROR_HASH:=2bb086dd4fc4975268b89867e7fc95b42a764b56c4a498518ef0d54694ffe40e
|
||||
PKG_SOURCE_VERSION:=f0cec094e4c6d1c975b377203a3bf994ba9325a9
|
||||
PKG_MIRROR_HASH:=1863acfaef319e6b277671fead51df0a31bdddb59022080d86b7d81da0bc8490
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -14,9 +14,9 @@ PKG_FLAGS:=essential
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://git.openwrt.org/project/opkg-lede.git
|
||||
PKG_SOURCE_DATE:=2020-01-25
|
||||
PKG_SOURCE_VERSION:=c09fe2098718807ddbca13ee36e3e38801822946
|
||||
PKG_MIRROR_HASH:=b2fba519fb3bf2da2e325a33eee951b85c7c1886e48ebaac3892435a71ae33d5
|
||||
PKG_SOURCE_DATE:=2020-05-07
|
||||
PKG_SOURCE_VERSION:=f2166a89b7e96e2c60002959731eebc5f45fa318
|
||||
PKG_MIRROR_HASH:=67e55cd9fb93bb5b62e2c7b11946483b5570287bd1504aa2a3886d11f8b750b9
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
@ -141,7 +141,7 @@ GEMINI_NAS_PACKAGES := $(DEFAULT_PACKAGES.nas) \
|
||||
kmod-fs-btrfs kmod-fs-cifs kmod-fs-nfs \
|
||||
kmod-fs-nfsd kmod-fs-ntfs kmod-fs-reiserfs kmod-fs-vfat \
|
||||
kmod-nls-utf8 kmod-usb-storage-extras kmod-hwmon-drivetemp \
|
||||
samba36-server cfdisk e2fsprogs badblocks \
|
||||
cfdisk e2fsprogs badblocks \
|
||||
partx-utils
|
||||
|
||||
# The DIR-685 flash layout is kernel in WRGG format, padded and followed
|
||||
|
@ -45,7 +45,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
selftest.o \
|
||||
--- a/drivers/dma-buf/dma-buf.c
|
||||
+++ b/drivers/dma-buf/dma-buf.c
|
||||
@@ -1298,4 +1298,5 @@ static void __exit dma_buf_deinit(void)
|
||||
@@ -1299,4 +1299,5 @@ static void __exit dma_buf_deinit(void)
|
||||
dma_buf_uninit_debugfs();
|
||||
kern_unmount(dma_buf_mnt);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
BOARD:=layerscape
|
||||
BOARDNAME:=NXP Layerscape
|
||||
KERNEL_PATCHVER:=4.14
|
||||
KERNEL_PATCHVER:=5.4
|
||||
FEATURES:=squashfs nand usb pcie gpio fpu ubifs ext4
|
||||
SUBTARGETS:=armv8_64b armv7
|
||||
|
||||
|
786
target/linux/layerscape/armv7/config-5.4
Normal file
786
target/linux/layerscape/armv7/config-5.4
Normal file
@ -0,0 +1,786 @@
|
||||
CONFIG_AD525X_DPOT=y
|
||||
CONFIG_AD525X_DPOT_I2C=y
|
||||
# CONFIG_AD525X_DPOT_SPI is not set
|
||||
CONFIG_ALIGNMENT_TRAP=y
|
||||
CONFIG_APDS9802ALS=y
|
||||
CONFIG_AQUANTIA_PHY=y
|
||||
CONFIG_ARCH_32BIT_OFF_T=y
|
||||
CONFIG_ARCH_CLOCKSOURCE_DATA=y
|
||||
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
|
||||
CONFIG_ARCH_HAS_BINFMT_FLAT=y
|
||||
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
|
||||
CONFIG_ARCH_HAS_DMA_COHERENT_TO_PFN=y
|
||||
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
|
||||
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
|
||||
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
|
||||
CONFIG_ARCH_HAS_KCOV=y
|
||||
CONFIG_ARCH_HAS_KEEPINITRD=y
|
||||
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
|
||||
CONFIG_ARCH_HAS_PHYS_TO_DMA=y
|
||||
CONFIG_ARCH_HAS_PTE_SPECIAL=y
|
||||
CONFIG_ARCH_HAS_RESET_CONTROLLER=y
|
||||
CONFIG_ARCH_HAS_SETUP_DMA_OPS=y
|
||||
CONFIG_ARCH_HAS_SET_MEMORY=y
|
||||
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
|
||||
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
|
||||
CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
|
||||
CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y
|
||||
CONFIG_ARCH_HAS_TEARDOWN_DMA_OPS=y
|
||||
CONFIG_ARCH_HAS_TICK_BROADCAST=y
|
||||
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
|
||||
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
|
||||
CONFIG_ARCH_KEEP_MEMBLOCK=y
|
||||
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
||||
CONFIG_ARCH_MULTIPLATFORM=y
|
||||
CONFIG_ARCH_MULTI_V6_V7=y
|
||||
CONFIG_ARCH_MULTI_V7=y
|
||||
CONFIG_ARCH_MXC=y
|
||||
CONFIG_ARCH_NR_GPIO=0
|
||||
CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y
|
||||
CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y
|
||||
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
|
||||
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
|
||||
CONFIG_ARCH_SUPPORTS_UPROBES=y
|
||||
CONFIG_ARCH_SUSPEND_POSSIBLE=y
|
||||
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
|
||||
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
|
||||
CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y
|
||||
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
|
||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
||||
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
|
||||
CONFIG_ARM_CPUIDLE=y
|
||||
CONFIG_ARM_CPU_SUSPEND=y
|
||||
CONFIG_ARM_ERRATA_430973=y
|
||||
CONFIG_ARM_ERRATA_643719=y
|
||||
CONFIG_ARM_ERRATA_720789=y
|
||||
CONFIG_ARM_ERRATA_754322=y
|
||||
CONFIG_ARM_ERRATA_754327=y
|
||||
CONFIG_ARM_ERRATA_764369=y
|
||||
CONFIG_ARM_ERRATA_775420=y
|
||||
CONFIG_ARM_ERRATA_798181=y
|
||||
CONFIG_ARM_GIC=y
|
||||
CONFIG_ARM_HAS_SG_CHAIN=y
|
||||
CONFIG_ARM_HEAVY_MB=y
|
||||
# CONFIG_ARM_HIGHBANK_CPUIDLE is not set
|
||||
# CONFIG_ARM_IMX_CPUFREQ_DT is not set
|
||||
CONFIG_ARM_L1_CACHE_SHIFT=6
|
||||
CONFIG_ARM_L1_CACHE_SHIFT_6=y
|
||||
CONFIG_ARM_LPAE=y
|
||||
CONFIG_ARM_PATCH_IDIV=y
|
||||
CONFIG_ARM_PATCH_PHYS_VIRT=y
|
||||
CONFIG_ARM_PMU=y
|
||||
CONFIG_ARM_PSCI=y
|
||||
# CONFIG_ARM_PSCI_CPUIDLE is not set
|
||||
CONFIG_ARM_PSCI_FW=y
|
||||
# CONFIG_ARM_SMMU is not set
|
||||
CONFIG_ARM_THUMB=y
|
||||
CONFIG_ARM_THUMBEE=y
|
||||
CONFIG_ARM_UNWIND=y
|
||||
CONFIG_ARM_VIRT_EXT=y
|
||||
CONFIG_AT803X_PHY=y
|
||||
# CONFIG_AT803X_PHY_SMART_EEE is not set
|
||||
CONFIG_ATAGS=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_AUTOFS_FS=y
|
||||
CONFIG_AUTO_ZRELADDR=y
|
||||
CONFIG_BATTERY_SBS=y
|
||||
CONFIG_BCM_NET_PHYLIB=y
|
||||
CONFIG_BINARY_PRINTF=y
|
||||
CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y
|
||||
CONFIG_BLK_CMDLINE_PARSER=y
|
||||
CONFIG_BLK_DEV_BSG=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||
CONFIG_BLK_DEV_RAM_SIZE=262144
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_BLK_DEV_SR=y
|
||||
# CONFIG_BLK_DEV_SR_VENDOR is not set
|
||||
CONFIG_BLK_MQ_PCI=y
|
||||
CONFIG_BLK_MQ_VIRTIO=y
|
||||
CONFIG_BLK_PM=y
|
||||
CONFIG_BLK_SCSI_REQUEST=y
|
||||
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
|
||||
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
|
||||
CONFIG_BOUNCE=y
|
||||
# CONFIG_BPF_SYSCALL is not set
|
||||
CONFIG_BRCMSTB_GISB_ARB=y
|
||||
CONFIG_BROADCOM_PHY=y
|
||||
CONFIG_CACHE_L2X0=y
|
||||
# CONFIG_CACHE_L2X0_PMU is not set
|
||||
CONFIG_CC_HAS_KASAN_GENERIC=y
|
||||
CONFIG_CDROM=y
|
||||
CONFIG_CHECKPOINT_RESTORE=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_CLKDEV_LOOKUP=y
|
||||
CONFIG_CLKSRC_IMX_GPT=y
|
||||
CONFIG_CLKSRC_MMIO=y
|
||||
CONFIG_CLK_QORIQ=y
|
||||
CONFIG_CLONE_BACKWARDS=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_CMA_ALIGNMENT=8
|
||||
CONFIG_CMA_AREAS=7
|
||||
# CONFIG_CMA_DEBUG is not set
|
||||
# CONFIG_CMA_DEBUGFS is not set
|
||||
CONFIG_CMA_SIZE_MBYTES=64
|
||||
# CONFIG_CMA_SIZE_SEL_MAX is not set
|
||||
CONFIG_CMA_SIZE_SEL_MBYTES=y
|
||||
# CONFIG_CMA_SIZE_SEL_MIN is not set
|
||||
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
|
||||
CONFIG_CMDLINE_PARTITION=y
|
||||
CONFIG_COMMON_CLK=y
|
||||
CONFIG_COMPAT_32BIT_TIME=y
|
||||
CONFIG_CONFIGFS_FS=y
|
||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||
CONFIG_CONTEXT_SWITCH_TRACER=y
|
||||
CONFIG_CONTIG_ALLOC=y
|
||||
CONFIG_COREDUMP=y
|
||||
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
|
||||
CONFIG_CPUFREQ_DT=y
|
||||
CONFIG_CPUFREQ_DT_PLATDEV=y
|
||||
CONFIG_CPU_32v6K=y
|
||||
CONFIG_CPU_32v7=y
|
||||
CONFIG_CPU_ABRT_EV7=y
|
||||
CONFIG_CPU_CACHE_V7=y
|
||||
CONFIG_CPU_CACHE_VIPT=y
|
||||
CONFIG_CPU_COPY_V6=y
|
||||
CONFIG_CPU_CP15=y
|
||||
CONFIG_CPU_CP15_MMU=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
|
||||
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
|
||||
CONFIG_CPU_FREQ_GOV_COMMON=y
|
||||
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
|
||||
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
||||
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
|
||||
CONFIG_CPU_FREQ_STAT=y
|
||||
CONFIG_CPU_HAS_ASID=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
# CONFIG_CPU_IDLE_GOV_LADDER is not set
|
||||
CONFIG_CPU_IDLE_GOV_MENU=y
|
||||
CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y
|
||||
CONFIG_CPU_PABRT_V7=y
|
||||
CONFIG_CPU_PM=y
|
||||
CONFIG_CPU_RMAP=y
|
||||
CONFIG_CPU_SPECTRE=y
|
||||
CONFIG_CPU_THERMAL=y
|
||||
CONFIG_CPU_THUMB_CAPABLE=y
|
||||
CONFIG_CPU_TLB_V7=y
|
||||
CONFIG_CPU_V7=y
|
||||
CONFIG_CRASH_CORE=y
|
||||
CONFIG_CRC16=y
|
||||
# CONFIG_CRC32_SARWATE is not set
|
||||
CONFIG_CRC32_SLICEBY8=y
|
||||
CONFIG_CROSS_MEMORY_ATTACH=y
|
||||
CONFIG_CRYPTO_ACOMP2=y
|
||||
CONFIG_CRYPTO_AEAD=y
|
||||
CONFIG_CRYPTO_AEAD2=y
|
||||
CONFIG_CRYPTO_CRC32C=y
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_HASH=y
|
||||
CONFIG_CRYPTO_HASH2=y
|
||||
CONFIG_CRYPTO_HASH_INFO=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
CONFIG_CRYPTO_MANAGER=y
|
||||
CONFIG_CRYPTO_MANAGER2=y
|
||||
CONFIG_CRYPTO_NULL2=y
|
||||
CONFIG_CRYPTO_RNG2=y
|
||||
# CONFIG_CRYPTO_TLS is not set
|
||||
CONFIG_CRYPTO_ZSTD=y
|
||||
CONFIG_DCACHE_WORD_ACCESS=y
|
||||
CONFIG_DEBUG_ALIGN_RODATA=y
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
|
||||
CONFIG_DECOMPRESS_BZIP2=y
|
||||
CONFIG_DECOMPRESS_GZIP=y
|
||||
CONFIG_DECOMPRESS_LZMA=y
|
||||
CONFIG_DECOMPRESS_LZO=y
|
||||
CONFIG_DECOMPRESS_XZ=y
|
||||
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
|
||||
CONFIG_DETECT_HUNG_TASK=y
|
||||
# CONFIG_DEVFREQ_GOV_PASSIVE is not set
|
||||
# CONFIG_DEVFREQ_GOV_PERFORMANCE is not set
|
||||
# CONFIG_DEVFREQ_GOV_POWERSAVE is not set
|
||||
# CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set
|
||||
# CONFIG_DEVFREQ_GOV_USERSPACE is not set
|
||||
# CONFIG_DEVFREQ_THERMAL is not set
|
||||
# CONFIG_DEVICE_THERMAL is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_DMA_CMA=y
|
||||
CONFIG_DMA_ENGINE=y
|
||||
CONFIG_DMA_OF=y
|
||||
CONFIG_DMA_REMAP=y
|
||||
CONFIG_DMA_SHARED_BUFFER=y
|
||||
CONFIG_DMA_VIRTUAL_CHANNELS=y
|
||||
CONFIG_DNOTIFY=y
|
||||
CONFIG_DTC=y
|
||||
CONFIG_DT_IDLE_STATES=y
|
||||
CONFIG_DUMMY_CONSOLE=y
|
||||
CONFIG_DW_DMAC=y
|
||||
CONFIG_DW_DMAC_CORE=y
|
||||
CONFIG_DW_WATCHDOG=y
|
||||
CONFIG_DYNAMIC_EVENTS=y
|
||||
CONFIG_EDAC_ATOMIC_SCRUB=y
|
||||
CONFIG_EDAC_SUPPORT=y
|
||||
CONFIG_EEPROM_93CX6=y
|
||||
CONFIG_EEPROM_AT24=y
|
||||
CONFIG_ELF_CORE=y
|
||||
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
|
||||
CONFIG_ENABLE_MUST_CHECK=y
|
||||
CONFIG_EVENT_TRACING=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
||||
CONFIG_FAILOVER=y
|
||||
CONFIG_FAT_FS=y
|
||||
# CONFIG_FEC is not set
|
||||
CONFIG_FHANDLE=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_FIX_EARLYCON_MEM=y
|
||||
CONFIG_FORCE_MAX_ZONEORDER=12
|
||||
CONFIG_FREEZER=y
|
||||
CONFIG_FSL_EDMA=y
|
||||
# CONFIG_FSL_EDMA_V3 is not set
|
||||
CONFIG_FSL_GUTS=y
|
||||
CONFIG_FSL_IFC=y
|
||||
# CONFIG_FSL_IMX8_DDR_PMU is not set
|
||||
# CONFIG_FSL_PPFE is not set
|
||||
CONFIG_FSL_PQ_MDIO=y
|
||||
# CONFIG_FSL_QIXIS is not set
|
||||
CONFIG_FSL_RCPM=y
|
||||
# CONFIG_FSL_SDK_DPA is not set
|
||||
CONFIG_FSL_XGMAC_MDIO=y
|
||||
CONFIG_FS_IOMAP=y
|
||||
CONFIG_FS_MBCACHE=y
|
||||
CONFIG_FS_POSIX_ACL=y
|
||||
CONFIG_FTRACE=y
|
||||
# CONFIG_FTRACE_SYSCALLS is not set
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_FW_LOADER_PAGED_BUF=y
|
||||
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
|
||||
CONFIG_GENERIC_ALLOCATOR=y
|
||||
CONFIG_GENERIC_ARCH_TOPOLOGY=y
|
||||
CONFIG_GENERIC_BUG=y
|
||||
CONFIG_GENERIC_CLOCKEVENTS=y
|
||||
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
|
||||
CONFIG_GENERIC_CPU_AUTOPROBE=y
|
||||
CONFIG_GENERIC_EARLY_IOREMAP=y
|
||||
CONFIG_GENERIC_IDLE_POLL_SETUP=y
|
||||
CONFIG_GENERIC_IRQ_CHIP=y
|
||||
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
|
||||
CONFIG_GENERIC_IRQ_MIGRATION=y
|
||||
CONFIG_GENERIC_IRQ_MULTI_HANDLER=y
|
||||
CONFIG_GENERIC_IRQ_SHOW=y
|
||||
CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
|
||||
CONFIG_GENERIC_MSI_IRQ=y
|
||||
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
|
||||
CONFIG_GENERIC_PCI_IOMAP=y
|
||||
CONFIG_GENERIC_PHY=y
|
||||
CONFIG_GENERIC_PINCONF=y
|
||||
CONFIG_GENERIC_PINCTRL_GROUPS=y
|
||||
CONFIG_GENERIC_PINMUX_FUNCTIONS=y
|
||||
CONFIG_GENERIC_SCHED_CLOCK=y
|
||||
CONFIG_GENERIC_SMP_IDLE_THREAD=y
|
||||
CONFIG_GENERIC_STRNCPY_FROM_USER=y
|
||||
CONFIG_GENERIC_STRNLEN_USER=y
|
||||
CONFIG_GENERIC_TIME_VSYSCALL=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_GLOB=y
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_GENERIC=y
|
||||
CONFIG_GPIO_GENERIC_PLATFORM=y
|
||||
CONFIG_GPIO_MPC8XXX=y
|
||||
CONFIG_GPIO_MXC=y
|
||||
CONFIG_HANDLE_DOMAIN_IRQ=y
|
||||
CONFIG_HARDEN_BRANCH_PREDICTOR=y
|
||||
CONFIG_HARDIRQS_SW_RESEND=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_HAS_IOMEM=y
|
||||
CONFIG_HAS_IOPORT_MAP=y
|
||||
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
|
||||
CONFIG_HAVE_ARCH_BITREVERSE=y
|
||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||
CONFIG_HAVE_ARCH_KGDB=y
|
||||
CONFIG_HAVE_ARCH_PFN_VALID=y
|
||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
|
||||
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
||||
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_HAVE_ARM_ARCH_TIMER=y
|
||||
CONFIG_HAVE_ARM_SMCCC=y
|
||||
CONFIG_HAVE_CLK=y
|
||||
CONFIG_HAVE_CLK_PREPARE=y
|
||||
CONFIG_HAVE_CONTEXT_TRACKING=y
|
||||
CONFIG_HAVE_COPY_THREAD_TLS=y
|
||||
CONFIG_HAVE_C_RECORDMCOUNT=y
|
||||
CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
||||
CONFIG_HAVE_DMA_CONTIGUOUS=y
|
||||
CONFIG_HAVE_DYNAMIC_FTRACE=y
|
||||
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
|
||||
CONFIG_HAVE_EBPF_JIT=y
|
||||
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
|
||||
CONFIG_HAVE_FAST_GUP=y
|
||||
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
|
||||
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
||||
CONFIG_HAVE_FUNCTION_TRACER=y
|
||||
CONFIG_HAVE_HW_BREAKPOINT=y
|
||||
CONFIG_HAVE_IDE=y
|
||||
CONFIG_HAVE_IMX_SRC=y
|
||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
||||
CONFIG_HAVE_LD_DEAD_CODE_DATA_ELIMINATION=y
|
||||
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
|
||||
CONFIG_HAVE_NET_DSA=y
|
||||
CONFIG_HAVE_OPROFILE=y
|
||||
CONFIG_HAVE_OPTPROBES=y
|
||||
CONFIG_HAVE_PCI=y
|
||||
CONFIG_HAVE_PERF_EVENTS=y
|
||||
CONFIG_HAVE_PERF_REGS=y
|
||||
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
|
||||
CONFIG_HAVE_PROC_CPU=y
|
||||
CONFIG_HAVE_RCU_TABLE_FREE=y
|
||||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
|
||||
CONFIG_HAVE_RSEQ=y
|
||||
CONFIG_HAVE_SMP=y
|
||||
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
|
||||
CONFIG_HAVE_UID16=y
|
||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
||||
CONFIG_HID=y
|
||||
CONFIG_HID_GENERIC=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_HIGHPTE=y
|
||||
CONFIG_HOTPLUG_CPU=y
|
||||
CONFIG_HVC_DRIVER=y
|
||||
CONFIG_HW_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_HW_RANDOM_IMX_RNGC=y
|
||||
CONFIG_HZ=100
|
||||
CONFIG_HZ_100=y
|
||||
CONFIG_HZ_FIXED=0
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_BOARDINFO=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_COMPAT=y
|
||||
CONFIG_I2C_DEMUX_PINCTRL=y
|
||||
CONFIG_I2C_DESIGNWARE_CORE=y
|
||||
CONFIG_I2C_DESIGNWARE_PLATFORM=y
|
||||
# CONFIG_I2C_DESIGNWARE_SLAVE is not set
|
||||
CONFIG_I2C_HELPER_AUTO=y
|
||||
CONFIG_I2C_IMX=y
|
||||
# CONFIG_I2C_IMX_LPI2C is not set
|
||||
CONFIG_I2C_MUX=y
|
||||
CONFIG_I2C_MUX_PCA954x=y
|
||||
CONFIG_I2C_MUX_PINCTRL=y
|
||||
CONFIG_I2C_RK3X=y
|
||||
CONFIG_I2C_SLAVE=y
|
||||
CONFIG_I2C_SLAVE_EEPROM=y
|
||||
CONFIG_I2C_XILINX=y
|
||||
CONFIG_ICPLUS_PHY=y
|
||||
CONFIG_ICS932S401=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_IMX2_WDT=y
|
||||
# CONFIG_IMX7ULP_WDT is not set
|
||||
CONFIG_IMX_DMA=y
|
||||
# CONFIG_IMX_GPCV2_PM_DOMAINS is not set
|
||||
# CONFIG_IMX_IRQSTEER is not set
|
||||
CONFIG_IMX_SDMA=y
|
||||
# CONFIG_IMX_WEIM is not set
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
# CONFIG_INPHI_PHY is not set
|
||||
CONFIG_INPUT=y
|
||||
# CONFIG_INPUT_MISC is not set
|
||||
# CONFIG_IOMMU_DEBUGFS is not set
|
||||
# CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set
|
||||
# CONFIG_IOMMU_IO_PGTABLE_LPAE is not set
|
||||
CONFIG_IOMMU_SUPPORT=y
|
||||
CONFIG_IPC_NS=y
|
||||
# CONFIG_IPMB_DEVICE_INTERFACE is not set
|
||||
CONFIG_IRQCHIP=y
|
||||
CONFIG_IRQ_DOMAIN=y
|
||||
CONFIG_IRQ_DOMAIN_HIERARCHY=y
|
||||
CONFIG_IRQ_FORCED_THREADING=y
|
||||
CONFIG_IRQ_WORK=y
|
||||
# CONFIG_ISDN is not set
|
||||
CONFIG_ISL29003=y
|
||||
# CONFIG_IVSHMEM_NET is not set
|
||||
CONFIG_JBD2=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_KERNEL_GZIP=y
|
||||
# CONFIG_KERNEL_XZ is not set
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_KEXEC_CORE=y
|
||||
CONFIG_LIBFDT=y
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_LOCK_DEBUGGING_SUPPORT=y
|
||||
CONFIG_LOCK_SPIN_ON_OWNER=y
|
||||
CONFIG_LS_SCFG_MSI=y
|
||||
CONFIG_LZO_COMPRESS=y
|
||||
CONFIG_LZO_DECOMPRESS=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_MANDATORY_FILE_LOCKING=y
|
||||
CONFIG_MARVELL_PHY=y
|
||||
CONFIG_MCPM=y
|
||||
CONFIG_MDIO_BITBANG=y
|
||||
CONFIG_MDIO_BUS=y
|
||||
CONFIG_MDIO_DEVICE=y
|
||||
# CONFIG_MDIO_GPIO is not set
|
||||
CONFIG_MEMFD_CREATE=y
|
||||
CONFIG_MEMORY=y
|
||||
CONFIG_MEMORY_ISOLATION=y
|
||||
CONFIG_MFD_SYSCON=y
|
||||
# CONFIG_MFD_VEXPRESS_SYSREG is not set
|
||||
CONFIG_MICREL_PHY=y
|
||||
CONFIG_MIGHT_HAVE_CACHE_L2X0=y
|
||||
CONFIG_MIGRATION=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_BLOCK=y
|
||||
CONFIG_MMC_BLOCK_MINORS=16
|
||||
# CONFIG_MMC_MXC is not set
|
||||
CONFIG_MMC_SDHCI=y
|
||||
# CONFIG_MMC_SDHCI_ESDHC_IMX is not set
|
||||
CONFIG_MMC_SDHCI_IO_ACCESSORS=y
|
||||
CONFIG_MMC_SDHCI_OF_ESDHC=y
|
||||
# CONFIG_MMC_SDHCI_PCI is not set
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
# CONFIG_MMC_TIFM_SD is not set
|
||||
CONFIG_MODULES_TREE_LOOKUP=y
|
||||
CONFIG_MODULES_USE_ELF_REL=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||
CONFIG_MTD_CFI_GEOMETRY=y
|
||||
CONFIG_MTD_CFI_STAA=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
|
||||
CONFIG_MTD_DATAFLASH=y
|
||||
# CONFIG_MTD_DATAFLASH_OTP is not set
|
||||
# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set
|
||||
CONFIG_MTD_NAND_CORE=y
|
||||
CONFIG_MTD_NAND_ECC_SW_HAMMING=y
|
||||
CONFIG_MTD_NAND_FSL_IFC=y
|
||||
CONFIG_MTD_PHYSMAP=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
|
||||
CONFIG_MTD_SST25L=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_BEB_LIMIT=20
|
||||
# CONFIG_MTD_UBI_BLOCK is not set
|
||||
# CONFIG_MTD_UBI_FASTMAP is not set
|
||||
# CONFIG_MTD_UBI_GLUEBI is not set
|
||||
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
||||
CONFIG_MUTEX_SPIN_ON_OWNER=y
|
||||
CONFIG_MX3_IPU=y
|
||||
CONFIG_MX3_IPU_IRQS=4
|
||||
CONFIG_MXC_CLK=y
|
||||
# CONFIG_MXS_DMA is not set
|
||||
CONFIG_NAMESPACES=y
|
||||
CONFIG_NATIONAL_PHY=y
|
||||
CONFIG_NEED_DMA_MAP_STATE=y
|
||||
CONFIG_NEON=y
|
||||
CONFIG_NET_FAILOVER=y
|
||||
CONFIG_NET_FLOW_LIMIT=y
|
||||
CONFIG_NET_NS=y
|
||||
CONFIG_NET_PTP_CLASSIFY=y
|
||||
CONFIG_NET_SWITCHDEV=y
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_NLS_UTF8=y
|
||||
CONFIG_NOP_TRACER=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_NO_HZ_COMMON=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_NR_CPUS=16
|
||||
CONFIG_NTFS_FS=y
|
||||
CONFIG_NVMEM=y
|
||||
# CONFIG_NVMEM_IMX_IIM is not set
|
||||
# CONFIG_NVMEM_SNVS_LPGPR is not set
|
||||
CONFIG_NVMEM_SYSFS=y
|
||||
CONFIG_OF=y
|
||||
CONFIG_OF_ADDRESS=y
|
||||
CONFIG_OF_DYNAMIC=y
|
||||
CONFIG_OF_EARLY_FLATTREE=y
|
||||
CONFIG_OF_FLATTREE=y
|
||||
CONFIG_OF_GPIO=y
|
||||
CONFIG_OF_IRQ=y
|
||||
CONFIG_OF_KOBJ=y
|
||||
CONFIG_OF_MDIO=y
|
||||
CONFIG_OF_NET=y
|
||||
CONFIG_OLD_SIGACTION=y
|
||||
CONFIG_OLD_SIGSUSPEND3=y
|
||||
CONFIG_OUTER_CACHE=y
|
||||
CONFIG_OUTER_CACHE_SYNC=y
|
||||
CONFIG_PACKET_DIAG=y
|
||||
CONFIG_PADATA=y
|
||||
CONFIG_PAGE_OFFSET=0xC0000000
|
||||
# CONFIG_PANIC_ON_OOPS is not set
|
||||
CONFIG_PANIC_ON_OOPS_VALUE=0
|
||||
CONFIG_PANIC_TIMEOUT=0
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCIEAER=y
|
||||
CONFIG_PCIEASPM=y
|
||||
# CONFIG_PCIEASPM_DEBUG is not set
|
||||
CONFIG_PCIEASPM_DEFAULT=y
|
||||
# CONFIG_PCIEASPM_PERFORMANCE is not set
|
||||
# CONFIG_PCIEASPM_POWERSAVE is not set
|
||||
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_PCIE_DW=y
|
||||
CONFIG_PCIE_DW_HOST=y
|
||||
CONFIG_PCIE_PME=y
|
||||
CONFIG_PCI_DOMAINS=y
|
||||
CONFIG_PCI_DOMAINS_GENERIC=y
|
||||
CONFIG_PCI_ECAM=y
|
||||
CONFIG_PCI_HOST_COMMON=y
|
||||
CONFIG_PCI_HOST_GENERIC=y
|
||||
# CONFIG_PCI_IMX6 is not set
|
||||
CONFIG_PCI_LAYERSCAPE=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_PCI_MSI_IRQ_DOMAIN=y
|
||||
CONFIG_PERF_EVENTS=y
|
||||
CONFIG_PERF_USE_VMALLOC=y
|
||||
CONFIG_PGTABLE_LEVELS=3
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PHYS_ADDR_T_64BIT=y
|
||||
CONFIG_PID_NS=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PL310_ERRATA_588369=y
|
||||
CONFIG_PL310_ERRATA_727915=y
|
||||
CONFIG_PL310_ERRATA_753970=y
|
||||
CONFIG_PL310_ERRATA_769419=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_CLK=y
|
||||
CONFIG_PM_DEVFREQ=y
|
||||
# CONFIG_PM_DEVFREQ_EVENT is not set
|
||||
CONFIG_PM_OPP=y
|
||||
CONFIG_PM_SLEEP=y
|
||||
CONFIG_PM_SLEEP_SMP=y
|
||||
CONFIG_POWER_RESET=y
|
||||
CONFIG_POWER_RESET_BRCMKONA=y
|
||||
CONFIG_POWER_RESET_BRCMSTB=y
|
||||
CONFIG_POWER_RESET_GPIO=y
|
||||
CONFIG_POWER_RESET_GPIO_RESTART=y
|
||||
CONFIG_POWER_RESET_SYSCON=y
|
||||
CONFIG_POWER_RESET_SYSCON_POWEROFF=y
|
||||
CONFIG_POWER_RESET_VEXPRESS=y
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
CONFIG_PPS=y
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_PROBE_EVENTS=y
|
||||
CONFIG_PROC_CHILDREN=y
|
||||
CONFIG_PROC_PAGE_MONITOR=y
|
||||
CONFIG_PSTORE=y
|
||||
# CONFIG_PSTORE_842_COMPRESS is not set
|
||||
CONFIG_PSTORE_COMPRESS=y
|
||||
CONFIG_PSTORE_COMPRESS_DEFAULT="deflate"
|
||||
CONFIG_PSTORE_CONSOLE=y
|
||||
CONFIG_PSTORE_DEFLATE_COMPRESS=y
|
||||
CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y
|
||||
# CONFIG_PSTORE_LZ4HC_COMPRESS is not set
|
||||
# CONFIG_PSTORE_LZ4_COMPRESS is not set
|
||||
# CONFIG_PSTORE_LZO_COMPRESS is not set
|
||||
CONFIG_PSTORE_PMSG=y
|
||||
CONFIG_PSTORE_RAM=y
|
||||
# CONFIG_PSTORE_ZSTD_COMPRESS is not set
|
||||
CONFIG_PTP_1588_CLOCK=y
|
||||
CONFIG_PTP_1588_CLOCK_QORIQ=y
|
||||
CONFIG_QORIQ_CPUFREQ=y
|
||||
# CONFIG_QUICC_ENGINE is not set
|
||||
CONFIG_RAS=y
|
||||
CONFIG_RATIONAL=y
|
||||
CONFIG_RCU_CPU_STALL_TIMEOUT=21
|
||||
# CONFIG_RCU_EXPERT is not set
|
||||
CONFIG_RCU_NEED_SEGCBLIST=y
|
||||
CONFIG_RCU_STALL_COMMON=y
|
||||
CONFIG_RD_BZIP2=y
|
||||
CONFIG_RD_GZIP=y
|
||||
CONFIG_RD_LZMA=y
|
||||
CONFIG_RD_LZO=y
|
||||
CONFIG_RD_XZ=y
|
||||
CONFIG_REALTEK_PHY=y
|
||||
CONFIG_REED_SOLOMON=y
|
||||
CONFIG_REED_SOLOMON_DEC8=y
|
||||
CONFIG_REED_SOLOMON_ENC8=y
|
||||
CONFIG_REFCOUNT_FULL=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_REGMAP_I2C=y
|
||||
CONFIG_REGMAP_MMIO=y
|
||||
CONFIG_REGMAP_SPI=y
|
||||
CONFIG_RESET_CONTROLLER=y
|
||||
CONFIG_RFS_ACCEL=y
|
||||
CONFIG_RING_BUFFER=y
|
||||
CONFIG_RPS=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
# CONFIG_RTC_DRV_CMOS is not set
|
||||
CONFIG_RTC_DRV_DS1307=y
|
||||
CONFIG_RTC_DRV_DS3232=y
|
||||
CONFIG_RTC_DRV_EM3027=y
|
||||
CONFIG_RTC_DRV_FSL_FTM_ALARM=y
|
||||
# CONFIG_RTC_DRV_IMXDI is not set
|
||||
# CONFIG_RTC_DRV_MXC is not set
|
||||
# CONFIG_RTC_DRV_MXC_V2 is not set
|
||||
CONFIG_RTC_DRV_PCF2127=y
|
||||
CONFIG_RTC_I2C_AND_SPI=y
|
||||
CONFIG_RWSEM_SPIN_ON_OWNER=y
|
||||
CONFIG_SCHED_DEBUG=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_SECCOMP_FILTER=y
|
||||
# CONFIG_SECURITY_DMESG_RESTRICT is not set
|
||||
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
|
||||
CONFIG_SERIAL_8250_DW=y
|
||||
CONFIG_SERIAL_8250_DWLIB=y
|
||||
CONFIG_SERIAL_8250_EM=y
|
||||
CONFIG_SERIAL_8250_FSL=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=4
|
||||
CONFIG_SERIAL_8250_PCI=y
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
||||
CONFIG_SERIAL_BCM63XX=y
|
||||
CONFIG_SERIAL_BCM63XX_CONSOLE=y
|
||||
CONFIG_SERIAL_CONEXANT_DIGICOLOR=y
|
||||
CONFIG_SERIAL_CONEXANT_DIGICOLOR_CONSOLE=y
|
||||
CONFIG_SERIAL_FSL_LPUART=y
|
||||
CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
|
||||
CONFIG_SERIAL_IMX=y
|
||||
CONFIG_SERIAL_IMX_CONSOLE=y
|
||||
CONFIG_SERIAL_MCTRL_GPIO=y
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
CONFIG_SERIAL_ST_ASC=y
|
||||
CONFIG_SERIAL_ST_ASC_CONSOLE=y
|
||||
CONFIG_SERIAL_XILINX_PS_UART=y
|
||||
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
|
||||
CONFIG_SGL_ALLOC=y
|
||||
CONFIG_SG_POOL=y
|
||||
CONFIG_SLUB_DEBUG=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_SMP_ON_UP=y
|
||||
CONFIG_SMSC_PHY=y
|
||||
CONFIG_SOCK_DIAG=y
|
||||
CONFIG_SOC_BRCMSTB=y
|
||||
CONFIG_SOC_BUS=y
|
||||
# CONFIG_SOC_IMX50 is not set
|
||||
# CONFIG_SOC_IMX51 is not set
|
||||
# CONFIG_SOC_IMX53 is not set
|
||||
# CONFIG_SOC_IMX6Q is not set
|
||||
# CONFIG_SOC_IMX6SL is not set
|
||||
# CONFIG_SOC_IMX6SLL is not set
|
||||
# CONFIG_SOC_IMX6SX is not set
|
||||
# CONFIG_SOC_IMX6UL is not set
|
||||
# CONFIG_SOC_IMX7D is not set
|
||||
# CONFIG_SOC_IMX7ULP is not set
|
||||
CONFIG_SOC_LS1021A=y
|
||||
# CONFIG_SOC_VF610 is not set
|
||||
CONFIG_SPARSE_IRQ=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_BITBANG=y
|
||||
CONFIG_SPI_CADENCE=y
|
||||
# CONFIG_SPI_FSL_LPSPI is not set
|
||||
# CONFIG_SPI_FSL_QUADSPI is not set
|
||||
# CONFIG_SPI_IMX is not set
|
||||
CONFIG_SPI_MASTER=y
|
||||
CONFIG_SPI_MEM=y
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
CONFIG_SPI_XILINX=y
|
||||
CONFIG_SPMI=y
|
||||
# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set
|
||||
CONFIG_SQUASHFS_DECOMP_SINGLE=y
|
||||
CONFIG_SQUASHFS_FILE_CACHE=y
|
||||
# CONFIG_SQUASHFS_FILE_DIRECT is not set
|
||||
CONFIG_SQUASHFS_LZO=y
|
||||
CONFIG_SQUASHFS_ZLIB=y
|
||||
CONFIG_SRAM=y
|
||||
CONFIG_SRAM_EXEC=y
|
||||
CONFIG_SRCU=y
|
||||
CONFIG_STACKTRACE=y
|
||||
CONFIG_STAGING_BOARD=y
|
||||
# CONFIG_STRIP_ASM_SYMS is not set
|
||||
CONFIG_SUSPEND=y
|
||||
CONFIG_SUSPEND_FREEZER=y
|
||||
CONFIG_SWIOTLB=y
|
||||
CONFIG_SWPHY=y
|
||||
CONFIG_SWP_EMULATE=y
|
||||
CONFIG_SYNC_FILE=y
|
||||
CONFIG_SYSFS_SYSCALL=y
|
||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
|
||||
# CONFIG_TCP_CONG_ADVANCED is not set
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
|
||||
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
|
||||
CONFIG_THERMAL_GOV_STEP_WISE=y
|
||||
CONFIG_THERMAL_OF=y
|
||||
CONFIG_TICK_CPU_ACCOUNTING=y
|
||||
CONFIG_TIMER_OF=y
|
||||
CONFIG_TIMER_PROBE=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_TRACEPOINTS=y
|
||||
CONFIG_TRACE_CLOCK=y
|
||||
CONFIG_TRACING=y
|
||||
CONFIG_TREE_RCU=y
|
||||
CONFIG_TREE_SRCU=y
|
||||
# CONFIG_TSN is not set
|
||||
CONFIG_UBIFS_FS=y
|
||||
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
|
||||
CONFIG_UBIFS_FS_LZO=y
|
||||
CONFIG_UBIFS_FS_ZLIB=y
|
||||
CONFIG_UBIFS_FS_ZSTD=y
|
||||
# CONFIG_UCLAMP_TASK is not set
|
||||
CONFIG_UEVENT_HELPER_PATH=""
|
||||
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
|
||||
CONFIG_UNIX_DIAG=y
|
||||
CONFIG_UNWINDER_ARM=y
|
||||
CONFIG_UPROBES=y
|
||||
CONFIG_UPROBE_EVENTS=y
|
||||
CONFIG_USB_SUPPORT=y
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_USE_OF=y
|
||||
CONFIG_UTS_NS=y
|
||||
CONFIG_VDSO=y
|
||||
CONFIG_VEXPRESS_CONFIG=y
|
||||
CONFIG_VEXPRESS_SYSCFG=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_VFPv3=y
|
||||
CONFIG_VIRTIO=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_VIRTIO_CONSOLE=y
|
||||
CONFIG_VIRTIO_MMIO=y
|
||||
# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_VIRTIO_PCI=y
|
||||
CONFIG_VIRTIO_PCI_LEGACY=y
|
||||
CONFIG_VITESSE_PHY=y
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
CONFIG_VT=y
|
||||
CONFIG_VT_CONSOLE=y
|
||||
CONFIG_VT_CONSOLE_SLEEP=y
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_WATCHDOG_CORE=y
|
||||
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
|
||||
CONFIG_XILINX_WATCHDOG=y
|
||||
CONFIG_XPS=y
|
||||
CONFIG_XXHASH=y
|
||||
CONFIG_XZ_DEC_ARM=y
|
||||
CONFIG_XZ_DEC_ARMTHUMB=y
|
||||
CONFIG_XZ_DEC_BCJ=y
|
||||
CONFIG_XZ_DEC_IA64=y
|
||||
CONFIG_XZ_DEC_POWERPC=y
|
||||
CONFIG_XZ_DEC_SPARC=y
|
||||
CONFIG_XZ_DEC_X86=y
|
||||
CONFIG_ZBOOT_ROM_BSS=0
|
||||
CONFIG_ZBOOT_ROM_TEXT=0
|
||||
CONFIG_ZLIB_DEFLATE=y
|
||||
CONFIG_ZLIB_INFLATE=y
|
||||
CONFIG_ZSTD_COMPRESS=y
|
||||
CONFIG_ZSTD_DECOMPRESS=y
|
1010
target/linux/layerscape/armv8_64b/config-5.4
Normal file
1010
target/linux/layerscape/armv8_64b/config-5.4
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@ define Device/ls1021atwr
|
||||
DEVICE_VENDOR := NXP
|
||||
DEVICE_MODEL := TWR-LS1021A
|
||||
DEVICE_VARIANT := Default
|
||||
DEVICE_PACKAGES += layerscape-rcw-ls1021atwr
|
||||
DEVICE_PACKAGES += layerscape-rcw
|
||||
DEVICE_DTS := ls1021a-twr
|
||||
IMAGE/firmware.bin := \
|
||||
ls-clean | \
|
||||
|
@ -97,7 +97,7 @@ define Device/ls1043ardb
|
||||
DEVICE_MODEL := LS1043A-RDB
|
||||
DEVICE_VARIANT := Default
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-fman-ls1043ardb \
|
||||
layerscape-fman \
|
||||
tfa-ls1043ardb \
|
||||
fmc fmc-eth-config
|
||||
DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
|
||||
@ -119,7 +119,7 @@ define Device/ls1043ardb-sdboot
|
||||
DEVICE_MODEL := LS1043A-RDB
|
||||
DEVICE_VARIANT := SD Card Boot
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-fman-ls1043ardb \
|
||||
layerscape-fman \
|
||||
tfa-ls1043ardb-sdboot \
|
||||
fmc fmc-eth-config
|
||||
DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
|
||||
@ -143,7 +143,7 @@ define Device/ls1046ardb
|
||||
DEVICE_MODEL := LS1046A-RDB
|
||||
DEVICE_VARIANT := Default
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-fman-ls1046ardb \
|
||||
layerscape-fman \
|
||||
tfa-ls1046ardb \
|
||||
fmc fmc-eth-config
|
||||
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
||||
@ -167,7 +167,7 @@ define Device/ls1046ardb-sdboot
|
||||
DEVICE_MODEL := LS1046A-RDB
|
||||
DEVICE_VARIANT := SD Card Boot
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-fman-ls1046ardb \
|
||||
layerscape-fman \
|
||||
tfa-ls1046ardb-sdboot \
|
||||
fmc fmc-eth-config
|
||||
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
||||
@ -191,8 +191,8 @@ define Device/ls1088ardb
|
||||
DEVICE_MODEL := LS1088A-RDB
|
||||
DEVICE_VARIANT := Default
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-mc-ls1088ardb \
|
||||
layerscape-dpl-ls1088ardb \
|
||||
layerscape-mc \
|
||||
layerscape-dpl \
|
||||
tfa-ls1088ardb \
|
||||
restool
|
||||
DEVICE_DTS := freescale/fsl-ls1088a-rdb
|
||||
@ -218,8 +218,8 @@ define Device/ls1088ardb-sdboot
|
||||
DEVICE_MODEL := LS1088A-RDB
|
||||
DEVICE_VARIANT := SD Card Boot
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-mc-ls1088ardb \
|
||||
layerscape-dpl-ls1088ardb \
|
||||
layerscape-mc \
|
||||
layerscape-dpl \
|
||||
tfa-ls1088ardb-sdboot \
|
||||
restool
|
||||
DEVICE_DTS := freescale/fsl-ls1088a-rdb
|
||||
@ -244,8 +244,8 @@ define Device/ls2088ardb
|
||||
DEVICE_VENDOR := NXP
|
||||
DEVICE_MODEL := LS2088ARDB
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-mc-ls2088ardb \
|
||||
layerscape-dpl-ls2088ardb \
|
||||
layerscape-mc \
|
||||
layerscape-dpl \
|
||||
tfa-ls2088ardb \
|
||||
restool
|
||||
DEVICE_DTS := freescale/fsl-ls2088a-rdb
|
||||
@ -273,7 +273,7 @@ define Device/traverse-ls1043
|
||||
FDT_LOADADDR = 0x90000000
|
||||
FILESYSTEMS := ubifs
|
||||
DEVICE_PACKAGES += \
|
||||
layerscape-fman-ls1043ardb \
|
||||
layerscape-fman \
|
||||
uboot-envtools \
|
||||
kmod-i2c-mux-pca954x \
|
||||
kmod-hwmon-core \
|
||||
|
@ -0,0 +1,33 @@
|
||||
From 0f87c1dd8f10958121e10219c89e8d710babd1ce Mon Sep 17 00:00:00 2001
|
||||
From: Alison Wang <b18965@freescale.com>
|
||||
Date: Fri, 17 Jul 2015 17:11:52 +0800
|
||||
Subject: [PATCH] arm: kernel: utilize hrtimer based broadcast
|
||||
|
||||
Hrtimer based broadcast is used on ARM platform. It can be
|
||||
registered as the tick broadcast device in the absence of
|
||||
a real external clock device.
|
||||
|
||||
Signed-off-by: Alison Wang <alison.wang@freescale.com>
|
||||
Acked-by: Mark Rutland <mark.rutland@arm.com>
|
||||
---
|
||||
arch/arm/kernel/time.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- a/arch/arm/kernel/time.c
|
||||
+++ b/arch/arm/kernel/time.c
|
||||
@@ -9,6 +9,7 @@
|
||||
* reading the RTC at bootup, etc...
|
||||
*/
|
||||
#include <linux/clk-provider.h>
|
||||
+#include <linux/clockchips.h>
|
||||
#include <linux/clocksource.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/export.h>
|
||||
@@ -107,5 +108,7 @@ void __init time_init(void)
|
||||
of_clk_init(NULL);
|
||||
#endif
|
||||
timer_probe();
|
||||
+
|
||||
+ tick_setup_hrtimer_broadcast();
|
||||
}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 0f90f5d6b3097fd6e7dea3389dc3d8f8894b345c Mon Sep 17 00:00:00 2001
|
||||
From: Haiying Wang <Haiying.Wang@freescale.com>
|
||||
Date: Wed, 22 Apr 2015 13:09:47 -0400
|
||||
Subject: [PATCH] arm64: add support to remap kernel cacheable memory to
|
||||
userspace
|
||||
|
||||
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
|
||||
Reviewed-by: Roy Pledge <roy.pledge@freescale.com>
|
||||
Reviewed-by: Stuart Yoder <stuart.yoder@freescale.com>
|
||||
---
|
||||
arch/arm64/include/asm/pgtable.h | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- a/arch/arm64/include/asm/pgtable.h
|
||||
+++ b/arch/arm64/include/asm/pgtable.h
|
||||
@@ -414,6 +414,9 @@ static inline pmd_t pmd_mkdevmap(pmd_t p
|
||||
__pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRnE) | PTE_PXN | PTE_UXN)
|
||||
#define pgprot_writecombine(prot) \
|
||||
__pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL_NC) | PTE_PXN | PTE_UXN)
|
||||
+#define pgprot_cached(prot) \
|
||||
+ __pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL) | \
|
||||
+ PTE_PXN | PTE_UXN)
|
||||
#define pgprot_device(prot) \
|
||||
__pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN)
|
||||
/*
|
@ -0,0 +1,22 @@
|
||||
From d59be41c014e2e17ea0aaa37d42f36548ad063b5 Mon Sep 17 00:00:00 2001
|
||||
From: Haiying Wang <Haiying.wang@freescale.com>
|
||||
Date: Sat, 8 Aug 2015 07:25:02 -0400
|
||||
Subject: [PATCH] arm64/pgtable: add support to map cacheable and non shareable
|
||||
memory
|
||||
|
||||
Signed-off-by: Haiying Wang <Haiying.wang@freescale.com>
|
||||
---
|
||||
arch/arm64/include/asm/pgtable.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/arch/arm64/include/asm/pgtable.h
|
||||
+++ b/arch/arm64/include/asm/pgtable.h
|
||||
@@ -417,6 +417,8 @@ static inline pmd_t pmd_mkdevmap(pmd_t p
|
||||
#define pgprot_cached(prot) \
|
||||
__pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_NORMAL) | \
|
||||
PTE_PXN | PTE_UXN)
|
||||
+#define pgprot_cached_ns(prot) \
|
||||
+ __pgprot(pgprot_val(pgprot_cached(prot)) ^ PTE_SHARED)
|
||||
#define pgprot_device(prot) \
|
||||
__pgprot_modify(prot, PTE_ATTRINDX_MASK, PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_PXN | PTE_UXN)
|
||||
/*
|
@ -0,0 +1,33 @@
|
||||
From 120c8f221cb18f6630d5cb954484bac88288cced Mon Sep 17 00:00:00 2001
|
||||
From: Haiying Wang <Haiying.Wang@freescale.com>
|
||||
Date: Wed, 22 Apr 2015 13:07:25 -0400
|
||||
Subject: [PATCH] arm64: add ioremap for normal cacheable non-shareable memory
|
||||
|
||||
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
|
||||
Reviewed-by: Roy Pledge <roy.pledge@freescale.com>
|
||||
Reviewed-by: Stuart Yoder <stuart.yoder@freescale.com>
|
||||
---
|
||||
arch/arm64/include/asm/io.h | 1 +
|
||||
arch/arm64/include/asm/pgtable-prot.h | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
--- a/arch/arm64/include/asm/io.h
|
||||
+++ b/arch/arm64/include/asm/io.h
|
||||
@@ -170,6 +170,7 @@ extern void __iomem *ioremap_cache(phys_
|
||||
#define ioremap_nocache(addr, size) __ioremap((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
|
||||
#define ioremap_wc(addr, size) __ioremap((addr), (size), __pgprot(PROT_NORMAL_NC))
|
||||
#define ioremap_wt(addr, size) __ioremap((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
|
||||
+#define ioremap_cache_ns(addr, size) __ioremap((addr), (size), __pgprot(PROT_NORMAL_NS))
|
||||
|
||||
/*
|
||||
* PCI configuration space mapping function.
|
||||
--- a/arch/arm64/include/asm/pgtable-prot.h
|
||||
+++ b/arch/arm64/include/asm/pgtable-prot.h
|
||||
@@ -37,6 +37,7 @@
|
||||
#define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC))
|
||||
#define PROT_NORMAL_WT (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_WT))
|
||||
#define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
|
||||
+#define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
|
||||
|
||||
#define PROT_SECT_DEVICE_nGnRE (PROT_SECT_DEFAULT | PMD_SECT_PXN | PMD_SECT_UXN | PMD_ATTRINDX(MT_DEVICE_nGnRE))
|
||||
#define PROT_SECT_NORMAL (PROT_SECT_DEFAULT | PMD_SECT_PXN | PMD_SECT_UXN | PMD_ATTRINDX(MT_NORMAL))
|
@ -0,0 +1,79 @@
|
||||
From 3bc37b0ee99b9d66ac47aea02784242cb3224366 Mon Sep 17 00:00:00 2001
|
||||
From: Zhao Qiang <B45475@freescale.com>
|
||||
Date: Fri, 10 Oct 2014 10:38:48 +0800
|
||||
Subject: [PATCH] arch: arm: add ARM specific fucntions required for ehci fsl
|
||||
driver
|
||||
|
||||
Add below functions for ARM platform which are used by ehci fsl driver:
|
||||
1. spin_event_timeout function
|
||||
2. set/clear bits functions
|
||||
|
||||
Signed-off-by: Zhao Qiang <B45475@freescale.com>
|
||||
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
|
||||
---
|
||||
arch/arm/include/asm/delay.h | 16 ++++++++++++++++
|
||||
arch/arm/include/asm/io.h | 28 ++++++++++++++++++++++++++++
|
||||
2 files changed, 44 insertions(+)
|
||||
|
||||
--- a/arch/arm/include/asm/delay.h
|
||||
+++ b/arch/arm/include/asm/delay.h
|
||||
@@ -85,6 +85,22 @@ extern void __bad_udelay(void);
|
||||
__const_udelay((n) * UDELAY_MULT)) : \
|
||||
__udelay(n))
|
||||
|
||||
+#define spin_event_timeout(condition, timeout, delay) \
|
||||
+({ \
|
||||
+ typeof(condition) __ret; \
|
||||
+ int i = 0; \
|
||||
+ while (!(__ret = (condition)) && (i++ < timeout)) { \
|
||||
+ if (delay) \
|
||||
+ udelay(delay); \
|
||||
+ else \
|
||||
+ cpu_relax(); \
|
||||
+ udelay(1); \
|
||||
+ } \
|
||||
+ if (!__ret) \
|
||||
+ __ret = (condition); \
|
||||
+ __ret; \
|
||||
+})
|
||||
+
|
||||
/* Loop-based definitions for assembly code. */
|
||||
extern void __loop_delay(unsigned long loops);
|
||||
extern void __loop_udelay(unsigned long usecs);
|
||||
--- a/arch/arm/include/asm/io.h
|
||||
+++ b/arch/arm/include/asm/io.h
|
||||
@@ -224,6 +224,34 @@ void __iomem *pci_remap_cfgspace(resourc
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+/* access ports */
|
||||
+#define setbits32(_addr, _v) iowrite32be(ioread32be(_addr) | (_v), (_addr))
|
||||
+#define clrbits32(_addr, _v) iowrite32be(ioread32be(_addr) & ~(_v), (_addr))
|
||||
+
|
||||
+#define setbits16(_addr, _v) iowrite16be(ioread16be(_addr) | (_v), (_addr))
|
||||
+#define clrbits16(_addr, _v) iowrite16be(ioread16be(_addr) & ~(_v), (_addr))
|
||||
+
|
||||
+#define setbits8(_addr, _v) iowrite8(ioread8(_addr) | (_v), (_addr))
|
||||
+#define clrbits8(_addr, _v) iowrite8(ioread8(_addr) & ~(_v), (_addr))
|
||||
+
|
||||
+/* Clear and set bits in one shot. These macros can be used to clear and
|
||||
+ * set multiple bits in a register using a single read-modify-write. These
|
||||
+ * macros can also be used to set a multiple-bit bit pattern using a mask,
|
||||
+ * by specifying the mask in the 'clear' parameter and the new bit pattern
|
||||
+ * in the 'set' parameter.
|
||||
+ */
|
||||
+
|
||||
+#define clrsetbits_be32(addr, clear, set) \
|
||||
+ iowrite32be((ioread32be(addr) & ~(clear)) | (set), (addr))
|
||||
+#define clrsetbits_le32(addr, clear, set) \
|
||||
+ iowrite32le((ioread32le(addr) & ~(clear)) | (set), (addr))
|
||||
+#define clrsetbits_be16(addr, clear, set) \
|
||||
+ iowrite16be((ioread16be(addr) & ~(clear)) | (set), (addr))
|
||||
+#define clrsetbits_le16(addr, clear, set) \
|
||||
+ iowrite16le((ioread16le(addr) & ~(clear)) | (set), (addr))
|
||||
+#define clrsetbits_8(addr, clear, set) \
|
||||
+ iowrite8((ioread8(addr) & ~(clear)) | (set), (addr))
|
||||
+
|
||||
/*
|
||||
* IO port access primitives
|
||||
* -------------------------
|
@ -0,0 +1,17 @@
|
||||
From 1c86c2f332b3aafb119c4d1ef981cd2a44286a81 Mon Sep 17 00:00:00 2001
|
||||
From: Madalin Bucur <madalin.bucur@nxp.com>
|
||||
Date: Wed, 7 Jun 2017 17:54:10 +0300
|
||||
Subject: [PATCH] export arch_setup_dma_ops()
|
||||
|
||||
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
|
||||
---
|
||||
arch/arm64/mm/dma-mapping.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/arch/arm64/mm/dma-mapping.c
|
||||
+++ b/arch/arm64/mm/dma-mapping.c
|
||||
@@ -57,3 +57,4 @@ void arch_setup_dma_ops(struct device *d
|
||||
dev->dma_ops = &xen_swiotlb_dma_ops;
|
||||
#endif
|
||||
}
|
||||
+EXPORT_SYMBOL(arch_setup_dma_ops);
|
@ -0,0 +1,23 @@
|
||||
From 5f1b16ecaac2e891c43a9bbce0f5ee1c18e5aba7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Horia=20Geant=C4=83?= <horia.geanta@nxp.com>
|
||||
Date: Mon, 19 Jun 2017 16:38:59 +0300
|
||||
Subject: [PATCH] arm: dma-mapping: export arch_setup_dma_ops()
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
|
||||
---
|
||||
arch/arm/mm/dma-mapping.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/arch/arm/mm/dma-mapping.c
|
||||
+++ b/arch/arm/mm/dma-mapping.c
|
||||
@@ -2320,6 +2320,7 @@ void arch_setup_dma_ops(struct device *d
|
||||
#endif
|
||||
dev->archdata.dma_ops_setup = true;
|
||||
}
|
||||
+EXPORT_SYMBOL(arch_setup_dma_ops);
|
||||
|
||||
void arch_teardown_dma_ops(struct device *dev)
|
||||
{
|
@ -0,0 +1,95 @@
|
||||
From e5bf75ca33946d81c82014168042a64db7c81551 Mon Sep 17 00:00:00 2001
|
||||
From: Pan Jiafei <Jiafei.Pan@nxp.com>
|
||||
Date: Thu, 17 Mar 2016 02:01:03 +0000
|
||||
Subject: [PATCH] arm: add new non-shareable ioremap
|
||||
|
||||
Signed-off-by: Pan Jiafei <Jiafei.Pan@nxp.com>
|
||||
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
|
||||
---
|
||||
arch/arm/include/asm/io.h | 3 +++
|
||||
arch/arm/include/asm/mach/map.h | 4 ++--
|
||||
arch/arm/mm/ioremap.c | 7 +++++++
|
||||
arch/arm/mm/mmu.c | 9 +++++++++
|
||||
4 files changed, 21 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm/include/asm/io.h
|
||||
+++ b/arch/arm/include/asm/io.h
|
||||
@@ -123,6 +123,7 @@ static inline u32 __raw_readl(const vola
|
||||
#define MT_DEVICE_NONSHARED 1
|
||||
#define MT_DEVICE_CACHED 2
|
||||
#define MT_DEVICE_WC 3
|
||||
+#define MT_MEMORY_RW_NS 4
|
||||
/*
|
||||
* types 4 onwards can be found in asm/mach/map.h and are undefined
|
||||
* for ioremap
|
||||
@@ -438,6 +439,8 @@ void __iomem *ioremap_wc(resource_size_t
|
||||
#define ioremap_wc ioremap_wc
|
||||
#define ioremap_wt ioremap_wc
|
||||
|
||||
+void __iomem *ioremap_cache_ns(resource_size_t res_cookie, size_t size);
|
||||
+
|
||||
void iounmap(volatile void __iomem *iomem_cookie);
|
||||
#define iounmap iounmap
|
||||
|
||||
--- a/arch/arm/include/asm/mach/map.h
|
||||
+++ b/arch/arm/include/asm/mach/map.h
|
||||
@@ -18,9 +18,9 @@ struct map_desc {
|
||||
unsigned int type;
|
||||
};
|
||||
|
||||
-/* types 0-3 are defined in asm/io.h */
|
||||
+/* types 0-4 are defined in asm/io.h */
|
||||
enum {
|
||||
- MT_UNCACHED = 4,
|
||||
+ MT_UNCACHED = 5,
|
||||
MT_CACHECLEAN,
|
||||
MT_MINICLEAN,
|
||||
MT_LOW_VECTORS,
|
||||
--- a/arch/arm/mm/ioremap.c
|
||||
+++ b/arch/arm/mm/ioremap.c
|
||||
@@ -399,6 +399,13 @@ void __iomem *ioremap_wc(resource_size_t
|
||||
}
|
||||
EXPORT_SYMBOL(ioremap_wc);
|
||||
|
||||
+void __iomem *ioremap_cache_ns(resource_size_t res_cookie, size_t size)
|
||||
+{
|
||||
+ return arch_ioremap_caller(res_cookie, size, MT_MEMORY_RW_NS,
|
||||
+ __builtin_return_address(0));
|
||||
+}
|
||||
+EXPORT_SYMBOL(ioremap_cache_ns);
|
||||
+
|
||||
/*
|
||||
* Remap an arbitrary physical address space into the kernel virtual
|
||||
* address space as memory. Needed when the kernel wants to execute
|
||||
--- a/arch/arm/mm/mmu.c
|
||||
+++ b/arch/arm/mm/mmu.c
|
||||
@@ -312,6 +312,13 @@ static struct mem_type mem_types[] __ro_
|
||||
.prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE,
|
||||
.domain = DOMAIN_KERNEL,
|
||||
},
|
||||
+ [MT_MEMORY_RW_NS] = {
|
||||
+ .prot_pte = L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_DIRTY |
|
||||
+ L_PTE_XN,
|
||||
+ .prot_l1 = PMD_TYPE_TABLE,
|
||||
+ .prot_sect = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_XN,
|
||||
+ .domain = DOMAIN_KERNEL,
|
||||
+ },
|
||||
[MT_ROM] = {
|
||||
.prot_sect = PMD_TYPE_SECT,
|
||||
.domain = DOMAIN_KERNEL,
|
||||
@@ -648,6 +655,7 @@ static void __init build_mem_type_table(
|
||||
}
|
||||
kern_pgprot |= PTE_EXT_AF;
|
||||
vecs_pgprot |= PTE_EXT_AF;
|
||||
+ mem_types[MT_MEMORY_RW_NS].prot_pte |= PTE_EXT_AF | cp->pte;
|
||||
|
||||
/*
|
||||
* Set PXN for user mappings
|
||||
@@ -676,6 +684,7 @@ static void __init build_mem_type_table(
|
||||
mem_types[MT_MEMORY_RWX].prot_pte |= kern_pgprot;
|
||||
mem_types[MT_MEMORY_RW].prot_sect |= ecc_mask | cp->pmd;
|
||||
mem_types[MT_MEMORY_RW].prot_pte |= kern_pgprot;
|
||||
+ mem_types[MT_MEMORY_RW_NS].prot_sect |= ecc_mask | cp->pmd;
|
||||
mem_types[MT_MEMORY_DMA_READY].prot_pte |= kern_pgprot;
|
||||
mem_types[MT_MEMORY_RWX_NONCACHED].prot_sect |= ecc_mask;
|
||||
mem_types[MT_ROM].prot_sect |= cp->pmd;
|
@ -0,0 +1,26 @@
|
||||
From 395718e9f6445369089dba16fa50182c5e0528f5 Mon Sep 17 00:00:00 2001
|
||||
From: Jianhua Xie <jianhua.xie@nxp.com>
|
||||
Date: Fri, 29 Jan 2016 16:40:46 +0800
|
||||
Subject: [PATCH] arm: add pgprot_cached and pgprot_cached_ns support
|
||||
|
||||
Signed-off-by: Jianhua Xie <jianhua.xie@nxp.com>
|
||||
---
|
||||
arch/arm/include/asm/pgtable.h | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
--- a/arch/arm/include/asm/pgtable.h
|
||||
+++ b/arch/arm/include/asm/pgtable.h
|
||||
@@ -116,6 +116,13 @@ extern pgprot_t pgprot_s2_device;
|
||||
#define pgprot_noncached(prot) \
|
||||
__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
|
||||
|
||||
+#define pgprot_cached(prot) \
|
||||
+ __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_DEV_CACHED)
|
||||
+
|
||||
+#define pgprot_cached_ns(prot) \
|
||||
+ __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_DEV_CACHED | \
|
||||
+ L_PTE_MT_DEV_NONSHARED)
|
||||
+
|
||||
#define pgprot_writecombine(prot) \
|
||||
__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
|
||||
|
@ -0,0 +1,20 @@
|
||||
From 73b06aca47caafdce7bff2c7b27a070d5a8d8172 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Tue, 5 Dec 2017 15:24:05 +0200
|
||||
Subject: [PATCH] arm64: add stage-2 cache-able non-shareable page type
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/include/asm/pgtable-prot.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/arch/arm64/include/asm/pgtable-prot.h
|
||||
+++ b/arch/arm64/include/asm/pgtable-prot.h
|
||||
@@ -78,6 +78,7 @@
|
||||
})
|
||||
|
||||
#define PAGE_S2 __pgprot(_PROT_DEFAULT | PAGE_S2_MEMATTR(NORMAL) | PTE_S2_RDONLY | PAGE_S2_XN)
|
||||
+#define PAGE_S2_NS __pgprot(PAGE_S2_MEMATTR(NORMAL) | PTE_S2_RDWR | PTE_TYPE_PAGE | PTE_AF)
|
||||
#define PAGE_S2_DEVICE __pgprot(_PROT_DEFAULT | PAGE_S2_MEMATTR(DEVICE_nGnRE) | PTE_S2_RDONLY | PTE_S2_XN)
|
||||
|
||||
#define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN)
|
@ -0,0 +1,152 @@
|
||||
From 68e332146b6f0a1d2a4514810986a7cf3c3117e3 Mon Sep 17 00:00:00 2001
|
||||
From: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Date: Thu, 28 Feb 2019 17:22:28 +0530
|
||||
Subject: [PATCH] drivers: soc: fsl: add qixis driver
|
||||
|
||||
FPGA on LX2160AQDS/LX2160ARDB connected on I2C bus, so add qixis driver
|
||||
which is basically an i2c client driver to control FPGA.
|
||||
|
||||
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
---
|
||||
drivers/soc/fsl/Kconfig | 11 +++++
|
||||
drivers/soc/fsl/Makefile | 1 +
|
||||
drivers/soc/fsl/qixis_ctrl.c | 105 +++++++++++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 117 insertions(+)
|
||||
create mode 100644 drivers/soc/fsl/qixis_ctrl.c
|
||||
|
||||
--- a/drivers/soc/fsl/Kconfig
|
||||
+++ b/drivers/soc/fsl/Kconfig
|
||||
@@ -40,4 +40,15 @@ config DPAA2_CONSOLE
|
||||
/dev/dpaa2_mc_console and /dev/dpaa2_aiop_console,
|
||||
which can be used to dump the Management Complex and AIOP
|
||||
firmware logs.
|
||||
+
|
||||
+config FSL_QIXIS
|
||||
+ tristate "QIXIS system controller driver"
|
||||
+ depends on OF
|
||||
+ select REGMAP_I2C
|
||||
+ select REGMAP_MMIO
|
||||
+ default n
|
||||
+ help
|
||||
+ Say y here to enable QIXIS system controller api. The qixis driver
|
||||
+ provides FPGA functions to control system.
|
||||
+
|
||||
endmenu
|
||||
--- a/drivers/soc/fsl/Makefile
|
||||
+++ b/drivers/soc/fsl/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
obj-$(CONFIG_FSL_DPAA) += qbman/
|
||||
obj-$(CONFIG_QUICC_ENGINE) += qe/
|
||||
obj-$(CONFIG_CPM) += qe/
|
||||
+obj-$(CONFIG_FSL_QIXIS) += qixis_ctrl.o
|
||||
obj-$(CONFIG_FSL_GUTS) += guts.o
|
||||
obj-$(CONFIG_FSL_MC_DPIO) += dpio/
|
||||
obj-$(CONFIG_DPAA2_CONSOLE) += dpaa2-console.o
|
||||
--- /dev/null
|
||||
+++ b/drivers/soc/fsl/qixis_ctrl.c
|
||||
@@ -0,0 +1,105 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0+
|
||||
+
|
||||
+/* Freescale QIXIS system controller driver.
|
||||
+ *
|
||||
+ * Copyright 2015 Freescale Semiconductor, Inc.
|
||||
+ * Copyright 2018-2019 NXP
|
||||
+ */
|
||||
+
|
||||
+#include <linux/err.h>
|
||||
+#include <linux/i2c.h>
|
||||
+#include <linux/module.h>
|
||||
+#include <linux/mfd/core.h>
|
||||
+#include <linux/of.h>
|
||||
+#include <linux/regmap.h>
|
||||
+
|
||||
+/* QIXIS MAP */
|
||||
+struct fsl_qixis_regs {
|
||||
+ u8 id; /* Identification Registers */
|
||||
+ u8 version; /* Version Register */
|
||||
+ u8 qixis_ver; /* QIXIS Version Register */
|
||||
+ u8 reserved1[0x1f];
|
||||
+};
|
||||
+
|
||||
+struct qixis_priv {
|
||||
+ struct regmap *regmap;
|
||||
+};
|
||||
+
|
||||
+static struct regmap_config qixis_regmap_config = {
|
||||
+ .reg_bits = 8,
|
||||
+ .val_bits = 8,
|
||||
+};
|
||||
+
|
||||
+static const struct mfd_cell fsl_qixis_devs[] = {
|
||||
+ {
|
||||
+ .name = "reg-mux",
|
||||
+ .of_compatible = "reg-mux",
|
||||
+ },
|
||||
+};
|
||||
+
|
||||
+static int fsl_qixis_i2c_probe(struct i2c_client *client)
|
||||
+{
|
||||
+ struct qixis_priv *priv;
|
||||
+ int ret = 0;
|
||||
+ u32 qver;
|
||||
+
|
||||
+ if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
|
||||
+ return -EOPNOTSUPP;
|
||||
+
|
||||
+ priv = devm_kzalloc(&client->dev, sizeof(struct qixis_priv),
|
||||
+ GFP_KERNEL);
|
||||
+ if (!priv)
|
||||
+ return -ENOMEM;
|
||||
+
|
||||
+ priv->regmap = regmap_init_i2c(client, &qixis_regmap_config);
|
||||
+ regmap_read(priv->regmap, offsetof(struct fsl_qixis_regs, qixis_ver),
|
||||
+ &qver);
|
||||
+ pr_info("Freescale QIXIS Version: 0x%08x\n", qver);
|
||||
+
|
||||
+ i2c_set_clientdata(client, priv);
|
||||
+
|
||||
+ if (of_device_is_compatible(client->dev.of_node, "simple-mfd"))
|
||||
+ ret = devm_mfd_add_devices(&client->dev, -1, fsl_qixis_devs,
|
||||
+ ARRAY_SIZE(fsl_qixis_devs), NULL, 0,
|
||||
+ NULL);
|
||||
+ if (ret)
|
||||
+ goto error;
|
||||
+
|
||||
+ return ret;
|
||||
+error:
|
||||
+ regmap_exit(priv->regmap);
|
||||
+
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+static int fsl_qixis_i2c_remove(struct i2c_client *client)
|
||||
+{
|
||||
+ struct qixis_priv *priv;
|
||||
+
|
||||
+ priv = i2c_get_clientdata(client);
|
||||
+ regmap_exit(priv->regmap);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static const struct of_device_id fsl_qixis_i2c_of_match[] = {
|
||||
+ { .compatible = "fsl,fpga-qixis-i2c" },
|
||||
+ {}
|
||||
+};
|
||||
+MODULE_DEVICE_TABLE(of, fsl_qixis_i2c_of_match);
|
||||
+
|
||||
+static struct i2c_driver fsl_qixis_i2c_driver = {
|
||||
+ .driver = {
|
||||
+ .name = "qixis_ctrl_i2c",
|
||||
+ .owner = THIS_MODULE,
|
||||
+ .of_match_table = of_match_ptr(fsl_qixis_i2c_of_match),
|
||||
+ },
|
||||
+ .probe_new = fsl_qixis_i2c_probe,
|
||||
+ .remove = fsl_qixis_i2c_remove,
|
||||
+};
|
||||
+module_i2c_driver(fsl_qixis_i2c_driver);
|
||||
+
|
||||
+MODULE_AUTHOR("Wang Dongsheng <dongsheng.wang@freescale.com>");
|
||||
+MODULE_DESCRIPTION("Freescale QIXIS system controller driver");
|
||||
+MODULE_LICENSE("GPL");
|
||||
+
|
@ -0,0 +1,22 @@
|
||||
From 5451ebbfc7e8ba51bceb12ee5409364000e6475b Mon Sep 17 00:00:00 2001
|
||||
From: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
Date: Thu, 9 Apr 2020 18:24:07 +0800
|
||||
Subject: [PATCH] soc: fsl: select MFD_CORE for qixis driver
|
||||
|
||||
The QIXIS driver should select MFD_CORE option.
|
||||
|
||||
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
||||
---
|
||||
drivers/soc/fsl/Kconfig | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/drivers/soc/fsl/Kconfig
|
||||
+++ b/drivers/soc/fsl/Kconfig
|
||||
@@ -46,6 +46,7 @@ config FSL_QIXIS
|
||||
depends on OF
|
||||
select REGMAP_I2C
|
||||
select REGMAP_MMIO
|
||||
+ select MFD_CORE
|
||||
default n
|
||||
help
|
||||
Say y here to enable QIXIS system controller api. The qixis driver
|
@ -0,0 +1,550 @@
|
||||
From fd5901a48f68c74f074ea5c490377b7c9f3899f5 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Fri, 5 Oct 2018 17:52:23 -0500
|
||||
Subject: [PATCH] sdk: arm64: dts: add/update DPAA1 include files for SDK
|
||||
flavor
|
||||
|
||||
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
||||
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
|
||||
Signed-off-by: Li Yang <leoyang.li@nxp.com>
|
||||
---
|
||||
.../boot/dts/freescale/qoriq-bman-portals-sdk.dtsi | 55 +++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi | 72 ++++++++++++++++++++++
|
||||
.../boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi | 9 +--
|
||||
.../boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi | 9 +--
|
||||
.../boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi | 5 +-
|
||||
.../boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi | 5 +-
|
||||
.../boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi | 5 +-
|
||||
.../boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi | 5 +-
|
||||
.../boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi | 5 +-
|
||||
.../boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi | 5 +-
|
||||
.../boot/dts/freescale/qoriq-fman3-0-6oh.dtsi | 47 ++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 52 +++++++++++++++-
|
||||
.../boot/dts/freescale/qoriq-qman-portals-sdk.dtsi | 38 ++++++++++++
|
||||
13 files changed, 291 insertions(+), 21 deletions(-)
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/qoriq-bman-portals-sdk.dtsi
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/qoriq-fman3-0-6oh.dtsi
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/qoriq-qman-portals-sdk.dtsi
|
||||
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-bman-portals-sdk.dtsi
|
||||
@@ -0,0 +1,55 @@
|
||||
+/*
|
||||
+ * QorIQ BMan SDK Portals device tree nodes
|
||||
+ *
|
||||
+ * Copyright 2011-2016 Freescale Semiconductor Inc.
|
||||
+ * Copyright 2017 NXP
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
+ */
|
||||
+
|
||||
+&bportals {
|
||||
+ bman-portal@0 {
|
||||
+ cell-index = <0>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@10000 {
|
||||
+ cell-index = <1>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@20000 {
|
||||
+ cell-index = <2>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@30000 {
|
||||
+ cell-index = <3>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@40000 {
|
||||
+ cell-index = <4>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@50000 {
|
||||
+ cell-index = <5>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@60000 {
|
||||
+ cell-index = <6>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@70000 {
|
||||
+ cell-index = <7>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@80000 {
|
||||
+ cell-index = <8>;
|
||||
+ };
|
||||
+
|
||||
+ bman-portal@90000 {
|
||||
+ cell-index = <9>;
|
||||
+ };
|
||||
+
|
||||
+ bman-bpids@0 {
|
||||
+ compatible = "fsl,bpid-range";
|
||||
+ fsl,bpid-range = <32 32>;
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi
|
||||
@@ -0,0 +1,72 @@
|
||||
+/*
|
||||
+ * QorIQ FMan v3 10g port #1 device tree stub [ controller @ offset 0x400000 ]
|
||||
+ *
|
||||
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
|
||||
+ *
|
||||
+ * Redistribution and use in source and binary forms, with or without
|
||||
+ * modification, are permitted provided that the following conditions are met:
|
||||
+ * * Redistributions of source code must retain the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer.
|
||||
+ * * Redistributions in binary form must reproduce the above copyright
|
||||
+ * notice, this list of conditions and the following disclaimer in the
|
||||
+ * documentation and/or other materials provided with the distribution.
|
||||
+ * * Neither the name of Freescale Semiconductor nor the
|
||||
+ * names of its contributors may be used to endorse or promote products
|
||||
+ * derived from this software without specific prior written permission.
|
||||
+ *
|
||||
+ *
|
||||
+ * ALTERNATIVELY, this software may be distributed under the terms of the
|
||||
+ * GNU General Public License ("GPL") as published by the Free Software
|
||||
+ * Foundation, either version 2 of that License or (at your option) any
|
||||
+ * later version.
|
||||
+ *
|
||||
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
|
||||
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
|
||||
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ */
|
||||
+
|
||||
+fsldpaa: fsl,dpaa {
|
||||
+ compatible = "fsl,ls1043a-dpaa", "simple-bus", "fsl,dpaa";
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet0>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet1>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+ ethernet@2 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet2>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+ ethernet@3 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet3>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+ ethernet@4 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet4>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+ ethernet@5 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet5>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+ ethernet@8 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet6>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi
|
||||
@@ -9,19 +9,20 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x10: port@90000 {
|
||||
cell-index = <0x10>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-10g-rx";
|
||||
reg = <0x90000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
fman0_tx_0x30: port@b0000 {
|
||||
cell-index = <0x30>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-10g-tx";
|
||||
reg = <0xb0000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
+ fsl,qman-channel-id = <0x800>;
|
||||
};
|
||||
|
||||
- ethernet@f0000 {
|
||||
+ mac9: ethernet@f0000 {
|
||||
cell-index = <0x8>;
|
||||
compatible = "fsl,fman-memac";
|
||||
reg = <0xf0000 0x1000>;
|
||||
@@ -29,7 +30,7 @@ fman@1a00000 {
|
||||
pcsphy-handle = <&pcsphy6>;
|
||||
};
|
||||
|
||||
- mdio@f1000 {
|
||||
+ mdio9: mdio@f1000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi
|
||||
@@ -9,19 +9,20 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x11: port@91000 {
|
||||
cell-index = <0x11>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-10g-rx";
|
||||
reg = <0x91000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
};
|
||||
|
||||
fman0_tx_0x31: port@b1000 {
|
||||
cell-index = <0x31>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-10g-tx";
|
||||
reg = <0xb1000 0x1000>;
|
||||
fsl,fman-10g-port;
|
||||
+ fsl,qman-channel-id = <0x801>;
|
||||
};
|
||||
|
||||
- ethernet@f2000 {
|
||||
+ mac10: ethernet@f2000 {
|
||||
cell-index = <0x9>;
|
||||
compatible = "fsl,fman-memac";
|
||||
reg = <0xf2000 0x1000>;
|
||||
@@ -29,7 +30,7 @@ fman@1a00000 {
|
||||
pcsphy-handle = <&pcsphy7>;
|
||||
};
|
||||
|
||||
- mdio@f3000 {
|
||||
+ mdio10: mdio@f3000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi
|
||||
@@ -9,14 +9,15 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x08: port@88000 {
|
||||
cell-index = <0x8>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
|
||||
reg = <0x88000 0x1000>;
|
||||
};
|
||||
|
||||
fman0_tx_0x28: port@a8000 {
|
||||
cell-index = <0x28>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
|
||||
reg = <0xa8000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x802>;
|
||||
};
|
||||
|
||||
ethernet@e0000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi
|
||||
@@ -9,14 +9,15 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x09: port@89000 {
|
||||
cell-index = <0x9>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
|
||||
reg = <0x89000 0x1000>;
|
||||
};
|
||||
|
||||
fman0_tx_0x29: port@a9000 {
|
||||
cell-index = <0x29>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
|
||||
reg = <0xa9000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x803>;
|
||||
};
|
||||
|
||||
ethernet@e2000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi
|
||||
@@ -9,14 +9,15 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x0a: port@8a000 {
|
||||
cell-index = <0xa>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
|
||||
reg = <0x8a000 0x1000>;
|
||||
};
|
||||
|
||||
fman0_tx_0x2a: port@aa000 {
|
||||
cell-index = <0x2a>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
|
||||
reg = <0xaa000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x804>;
|
||||
};
|
||||
|
||||
ethernet@e4000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi
|
||||
@@ -9,14 +9,15 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x0b: port@8b000 {
|
||||
cell-index = <0xb>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
|
||||
reg = <0x8b000 0x1000>;
|
||||
};
|
||||
|
||||
fman0_tx_0x2b: port@ab000 {
|
||||
cell-index = <0x2b>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
|
||||
reg = <0xab000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x805>;
|
||||
};
|
||||
|
||||
ethernet@e6000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi
|
||||
@@ -9,14 +9,15 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x0c: port@8c000 {
|
||||
cell-index = <0xc>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
|
||||
reg = <0x8c000 0x1000>;
|
||||
};
|
||||
|
||||
fman0_tx_0x2c: port@ac000 {
|
||||
cell-index = <0x2c>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
|
||||
reg = <0xac000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x806>;
|
||||
};
|
||||
|
||||
ethernet@e8000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi
|
||||
@@ -9,14 +9,15 @@
|
||||
fman@1a00000 {
|
||||
fman0_rx_0x0d: port@8d000 {
|
||||
cell-index = <0xd>;
|
||||
- compatible = "fsl,fman-v3-port-rx";
|
||||
+ compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
|
||||
reg = <0x8d000 0x1000>;
|
||||
};
|
||||
|
||||
fman0_tx_0x2d: port@ad000 {
|
||||
cell-index = <0x2d>;
|
||||
- compatible = "fsl,fman-v3-port-tx";
|
||||
+ compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
|
||||
reg = <0xad000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x807>;
|
||||
};
|
||||
|
||||
ethernet@ea000 {
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-6oh.dtsi
|
||||
@@ -0,0 +1,47 @@
|
||||
+/*
|
||||
+ * QorIQ FMan v3 OH ports device tree
|
||||
+ *
|
||||
+ * Copyright 2012-2015 Freescale Semiconductor Inc.
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
+ */
|
||||
+
|
||||
+fman@1a00000 {
|
||||
+
|
||||
+ fman0_oh1: port@82000 {
|
||||
+ cell-index = <0>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x82000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ fman0_oh2: port@83000 {
|
||||
+ cell-index = <1>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x83000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ fman0_oh3: port@84000 {
|
||||
+ cell-index = <2>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x84000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ fman0_oh4: port@85000 {
|
||||
+ cell-index = <3>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x85000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ fman0_oh5: port@86000 {
|
||||
+ cell-index = <4>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x86000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ fman0_oh6: port@87000 {
|
||||
+ cell-index = <5>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x87000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
|
||||
@@ -20,45 +20,95 @@ fman0: fman@1a00000 {
|
||||
fsl,qman-channel-range = <0x800 0x10>;
|
||||
ptimer-handle = <&ptp_timer0>;
|
||||
|
||||
+ cc {
|
||||
+ compatible = "fsl,fman-cc";
|
||||
+ };
|
||||
+
|
||||
muram@0 {
|
||||
compatible = "fsl,fman-muram";
|
||||
reg = <0x0 0x60000>;
|
||||
};
|
||||
|
||||
+ bmi@80000 {
|
||||
+ compatible = "fsl,fman-bmi";
|
||||
+ reg = <0x80000 0x400>;
|
||||
+ };
|
||||
+
|
||||
+ qmi@80400 {
|
||||
+ compatible = "fsl,fman-qmi";
|
||||
+ reg = <0x80400 0x400>;
|
||||
+ };
|
||||
+
|
||||
fman0_oh_0x2: port@82000 {
|
||||
cell-index = <0x2>;
|
||||
compatible = "fsl,fman-v3-port-oh";
|
||||
reg = <0x82000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x809>;
|
||||
};
|
||||
|
||||
fman0_oh_0x3: port@83000 {
|
||||
cell-index = <0x3>;
|
||||
compatible = "fsl,fman-v3-port-oh";
|
||||
reg = <0x83000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x80a>;
|
||||
};
|
||||
|
||||
fman0_oh_0x4: port@84000 {
|
||||
cell-index = <0x4>;
|
||||
compatible = "fsl,fman-v3-port-oh";
|
||||
reg = <0x84000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x80b>;
|
||||
};
|
||||
|
||||
fman0_oh_0x5: port@85000 {
|
||||
cell-index = <0x5>;
|
||||
compatible = "fsl,fman-v3-port-oh";
|
||||
reg = <0x85000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x80c>;
|
||||
};
|
||||
|
||||
fman0_oh_0x6: port@86000 {
|
||||
cell-index = <0x6>;
|
||||
compatible = "fsl,fman-v3-port-oh";
|
||||
reg = <0x86000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x80d>;
|
||||
};
|
||||
|
||||
fman0_oh_0x7: port@87000 {
|
||||
cell-index = <0x7>;
|
||||
compatible = "fsl,fman-v3-port-oh";
|
||||
reg = <0x87000 0x1000>;
|
||||
+ fsl,qman-channel-id = <0x80e>;
|
||||
+ };
|
||||
+
|
||||
+ policer@c0000 {
|
||||
+ compatible = "fsl,fman-policer";
|
||||
+ reg = <0xc0000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ keygen@c1000 {
|
||||
+ compatible = "fsl,fman-keygen";
|
||||
+ reg = <0xc1000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ dma@c2000 {
|
||||
+ compatible = "fsl,fman-dma";
|
||||
+ reg = <0xc2000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ fpm@c3000 {
|
||||
+ compatible = "fsl,fman-fpm";
|
||||
+ reg = <0xc3000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ parser@c7000 {
|
||||
+ compatible = "fsl,fman-parser";
|
||||
+ reg = <0xc7000 0x1000>;
|
||||
+ };
|
||||
+
|
||||
+ vsps@dc000 {
|
||||
+ compatible = "fsl,fman-vsps";
|
||||
+ reg = <0xdc000 0x1000>;
|
||||
};
|
||||
|
||||
mdio0: mdio@fc000 {
|
||||
@@ -77,7 +127,7 @@ fman0: fman@1a00000 {
|
||||
};
|
||||
|
||||
ptp_timer0: ptp-timer@1afe000 {
|
||||
- compatible = "fsl,fman-ptp-timer";
|
||||
+ compatible = "fsl,fman-ptp-timer", "fsl,fman-rtc";
|
||||
reg = <0x0 0x1afe000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clockgen 3 0>;
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/qoriq-qman-portals-sdk.dtsi
|
||||
@@ -0,0 +1,38 @@
|
||||
+/*
|
||||
+ * QorIQ QMan SDK Portals device tree nodes
|
||||
+ *
|
||||
+ * Copyright 2011-2016 Freescale Semiconductor Inc.
|
||||
+ * Copyright 2017 NXP
|
||||
+ *
|
||||
+ * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
||||
+ */
|
||||
+
|
||||
+&qportals {
|
||||
+ qman-fqids@0 {
|
||||
+ compatible = "fsl,fqid-range";
|
||||
+ fsl,fqid-range = <256 256>;
|
||||
+ };
|
||||
+
|
||||
+ qman-fqids@1 {
|
||||
+ compatible = "fsl,fqid-range";
|
||||
+ fsl,fqid-range = <32768 32768>;
|
||||
+ };
|
||||
+
|
||||
+ qman-pools@0 {
|
||||
+ compatible = "fsl,pool-channel-range";
|
||||
+ fsl,pool-channel-range = <0x401 0xf>;
|
||||
+ };
|
||||
+
|
||||
+ qman-cgrids@0 {
|
||||
+ compatible = "fsl,cgrid-range";
|
||||
+ fsl,cgrid-range = <0 256>;
|
||||
+ };
|
||||
+
|
||||
+ qman-ceetm@0 {
|
||||
+ compatible = "fsl,qman-ceetm";
|
||||
+ fsl,ceetm-lfqid-range = <0xf00000 0x1000>;
|
||||
+ fsl,ceetm-sp-range = <0 16>;
|
||||
+ fsl,ceetm-lni-range = <0 8>;
|
||||
+ fsl,ceetm-channel-range = <0 32>;
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,626 @@
|
||||
From 7f3b260e937238632e523306089e856d0db1a4f9 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Fri, 5 Oct 2018 18:03:25 -0500
|
||||
Subject: [PATCH] sdk: arm64: dts: add DPAA1 SDK flavor dts files
|
||||
|
||||
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
||||
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
|
||||
Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||||
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
|
||||
Signed-off-by: Li Yang <leoyang.li@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/Makefile | 6 ++
|
||||
.../boot/dts/freescale/fsl-ls1043a-qds-sdk.dts | 71 +++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts | 71 +++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 117 +++++++++++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1046a-qds-sdk.dts | 79 ++++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts | 115 ++++++++++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 110 +++++++++++++++++++
|
||||
7 files changed, 569 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/Makefile
|
||||
+++ b/arch/arm64/boot/dts/freescale/Makefile
|
||||
@@ -7,10 +7,16 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds-sdk.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-sdk.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-usdpaa.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds-sdk.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb-sdk.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb-usdpaa.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
|
||||
@@ -0,0 +1,71 @@
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1043A family SoC.
|
||||
+ *
|
||||
+ * Copyright 2014-2015 Freescale Semiconductor, Inc.
|
||||
+ *
|
||||
+ * Mingkai Hu <Mingkai.hu@freescale.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPLv2 or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This library 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 library 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.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1043a-qds.dts"
|
||||
+#include "qoriq-qman-portals-sdk.dtsi"
|
||||
+#include "qoriq-bman-portals-sdk.dtsi"
|
||||
+
|
||||
+&bman_fbpr {
|
||||
+ compatible = "fsl,bman-fbpr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_fqd {
|
||||
+ compatible = "fsl,qman-fqd";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_pfdr {
|
||||
+ compatible = "fsl,qman-pfdr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+#include "qoriq-dpaa-eth.dtsi"
|
||||
+#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ compatible = "fsl,fman", "simple-bus";
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
|
||||
@@ -0,0 +1,71 @@
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1043A family SoC.
|
||||
+ *
|
||||
+ * Copyright 2014-2015 Freescale Semiconductor, Inc.
|
||||
+ *
|
||||
+ * Mingkai Hu <Mingkai.hu@freescale.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPLv2 or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This library 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 library 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.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1043a-rdb.dts"
|
||||
+#include "qoriq-qman-portals-sdk.dtsi"
|
||||
+#include "qoriq-bman-portals-sdk.dtsi"
|
||||
+
|
||||
+&bman_fbpr {
|
||||
+ compatible = "fsl,bman-fbpr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_fqd {
|
||||
+ compatible = "fsl,qman-fqd";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_pfdr {
|
||||
+ compatible = "fsl,qman-pfdr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+#include "qoriq-dpaa-eth.dtsi"
|
||||
+#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ compatible = "fsl,fman", "simple-bus";
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
@@ -0,0 +1,117 @@
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1043A family SoC.
|
||||
+ *
|
||||
+ * Copyright (C) 2014-2015, Freescale Semiconductor
|
||||
+ *
|
||||
+ * This file is licensed under the terms of the GNU General Public
|
||||
+ * License version 2. This program is licensed "as is" without any
|
||||
+ * warranty of any kind, whether express or implied.
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1043a-rdb-sdk.dts"
|
||||
+
|
||||
+&soc {
|
||||
+ bp7: buffer-pool@7 {
|
||||
+ compatible = "fsl,p4080-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <7>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
|
||||
+ fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ bp8: buffer-pool@8 {
|
||||
+ compatible = "fsl,p4080-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <8>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
|
||||
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ bp9: buffer-pool@9 {
|
||||
+ compatible = "fsl,p4080-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <9>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
|
||||
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ fsl,dpaa {
|
||||
+ compatible = "fsl,ls1043a", "fsl,dpaa", "simple-bus";
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x50 1 0x51 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x70 1 0x71 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x52 1 0x53 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x72 1 0x73 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@2 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@3 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@4 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@5 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x60 1 0x61 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x80 1 0x81 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@8 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
|
||||
+
|
||||
+ };
|
||||
+ dpa-fman0-oh@2 {
|
||||
+ compatible = "fsl,dpa-oh";
|
||||
+ /* Define frame queues for the OH port*/
|
||||
+ /* <OH Rx error, OH Rx default> */
|
||||
+ fsl,qman-frame-queues-oh = <0x5a 1 0x5b 1>;
|
||||
+ fsl,fman-oh-port = <&fman0_oh2>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+/ {
|
||||
+ reserved-memory {
|
||||
+ #address-cells = <2>;
|
||||
+ #size-cells = <2>;
|
||||
+ ranges;
|
||||
+
|
||||
+ usdpaa_mem: usdpaa_mem {
|
||||
+ compatible = "fsl,usdpaa-mem";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+ size = <0 0x10000000>;
|
||||
+ alignment = <0 0x10000000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ fman0_oh2: port@83000 {
|
||||
+ cell-index = <1>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x83000 0x1000>;
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
|
||||
@@ -0,0 +1,79 @@
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1046A family SoC.
|
||||
+ *
|
||||
+ * Copyright 2014-2015 Freescale Semiconductor, Inc.
|
||||
+ *
|
||||
+ * Mingkai Hu <Mingkai.hu@freescale.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPLv2 or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This library 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 library 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.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1046a-qds.dts"
|
||||
+#include "qoriq-qman-portals-sdk.dtsi"
|
||||
+#include "qoriq-bman-portals-sdk.dtsi"
|
||||
+
|
||||
+&bman_fbpr {
|
||||
+ compatible = "fsl,bman-fbpr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_fqd {
|
||||
+ compatible = "fsl,qman-fqd";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_pfdr {
|
||||
+ compatible = "fsl,qman-pfdr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+#include "qoriq-dpaa-eth.dtsi"
|
||||
+#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ ethernet@9 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet7>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ compatible = "fsl,fman", "simple-bus";
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
|
||||
@@ -0,0 +1,115 @@
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1046A family SoC.
|
||||
+ *
|
||||
+ * Copyright 2014-2015 Freescale Semiconductor, Inc.
|
||||
+ *
|
||||
+ * Mingkai Hu <Mingkai.hu@freescale.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPLv2 or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This library 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 library 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.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1046a-rdb.dts"
|
||||
+#include "qoriq-qman-portals-sdk.dtsi"
|
||||
+#include "qoriq-bman-portals-sdk.dtsi"
|
||||
+
|
||||
+&bman_fbpr {
|
||||
+ compatible = "fsl,bman-fbpr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_fqd {
|
||||
+ compatible = "fsl,qman-fqd";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_pfdr {
|
||||
+ compatible = "fsl,qman-pfdr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+#include "qoriq-dpaa-eth.dtsi"
|
||||
+#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ ethernet@0 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ ethernet@1 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ ethernet@9 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet7>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ compatible = "fsl,fman", "simple-bus";
|
||||
+};
|
||||
+
|
||||
+&mdio9 {
|
||||
+ pcsphy6: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x8C0 0x40>; /* lane D */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&mdio10 {
|
||||
+ pcsphy7: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x880 0x40>; /* lane C */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Update MAC connections to backplane PHYs
|
||||
+ * &mac9 {
|
||||
+ * phy-handle = <&pcsphy6>;
|
||||
+ *};
|
||||
+ *
|
||||
+ *&mac10 {
|
||||
+ * phy-handle = <&pcsphy7>;
|
||||
+ *};
|
||||
+*/
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
@@ -0,0 +1,110 @@
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1046A family SoC.
|
||||
+ *
|
||||
+ * Copyright (C) 2016, Freescale Semiconductor
|
||||
+ *
|
||||
+ * This file is licensed under the terms of the GNU General Public
|
||||
+ * License version 2. This program is licensed "as is" without any
|
||||
+ * warranty of any kind, whether express or implied.
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1046a-rdb-sdk.dts"
|
||||
+
|
||||
+&soc {
|
||||
+ bp7: buffer-pool@7 {
|
||||
+ compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <7>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
|
||||
+ fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ bp8: buffer-pool@8 {
|
||||
+ compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <8>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
|
||||
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ bp9: buffer-pool@9 {
|
||||
+ compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <9>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
|
||||
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ fsl,dpaa {
|
||||
+ compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus";
|
||||
+
|
||||
+ ethernet@2 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@3 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@4 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@5 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x5a 1 0x5b 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x7a 1 0x7b 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@8 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@9 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x5e 1 0x5f 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x7e 1 0x7f 1>;
|
||||
+ };
|
||||
+
|
||||
+ dpa-fman0-oh@2 {
|
||||
+ compatible = "fsl,dpa-oh";
|
||||
+ /* Define frame queues for the OH port*/
|
||||
+ /* <OH Rx error, OH Rx default> */
|
||||
+ fsl,qman-frame-queues-oh = <0x60 1 0x61 1>;
|
||||
+ fsl,fman-oh-port = <&fman0_oh2>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+/ {
|
||||
+ reserved-memory {
|
||||
+ #address-cells = <2>;
|
||||
+ #size-cells = <2>;
|
||||
+ ranges;
|
||||
+
|
||||
+ usdpaa_mem: usdpaa_mem {
|
||||
+ compatible = "fsl,usdpaa-mem";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+ size = <0 0x10000000>;
|
||||
+ alignment = <0 0x10000000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ fman0_oh2: port@83000 {
|
||||
+ cell-index = <1>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x83000 0x1000>;
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,114 @@
|
||||
From 3261cabf5607c9f434faa4930ab5c2b0150579c4 Mon Sep 17 00:00:00 2001
|
||||
From: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
Date: Wed, 29 Nov 2017 06:23:14 +0530
|
||||
Subject: [PATCH] arm64: dts: ls1012a: Add LS1012A-2G5RDB board support
|
||||
|
||||
LS1012A-2G5RDB is a different design from LS1012ARDB,
|
||||
but has some common SoC features. Key feature on this
|
||||
board is 2.5Gbps SGMII.
|
||||
|
||||
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
Signed-off-by: Li Yang <leoyang.li@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/Makefile | 1 +
|
||||
.../boot/dts/freescale/fsl-ls1012a-2g5rdb.dts | 86 ++++++++++++++++++++++
|
||||
2 files changed, 87 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/Makefile
|
||||
+++ b/arch/arm64/boot/dts/freescale/Makefile
|
||||
@@ -1,4 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-2g5rdb.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-oxalis.dtb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
@@ -0,0 +1,86 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree file for NXP LS1012A 2G5RDB Board.
|
||||
+ *
|
||||
+ * Copyright 2017 NXP
|
||||
+ *
|
||||
+ * Bhaskar Upadhaya <bhaskar.upadhaya@nxp.com>
|
||||
+ */
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "fsl-ls1012a.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "LS1012A 2G5RDB Board";
|
||||
+ compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
|
||||
+
|
||||
+ aliases {
|
||||
+ ethernet0 = &pfe_mac0;
|
||||
+ ethernet1 = &pfe_mac1;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&duart0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ num-cs = <2>;
|
||||
+ bus-num = <0>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ qflash0: s25fs512s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ m25p,fast-read;
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&sata {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&pfe {
|
||||
+ status = "okay";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii-2500";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x1>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x1>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = < 0x0>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = < 0x2>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii-2500";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x0>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,149 @@
|
||||
From 9ba5a56b7241c46aa47544f8414ad1f3d445f3c1 Mon Sep 17 00:00:00 2001
|
||||
From: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
Date: Mon, 7 May 2018 11:52:04 +0530
|
||||
Subject: [PATCH] arm64: dts: ls1012a: Add more nodes to LS1012A-FRWY board
|
||||
support
|
||||
|
||||
LS1012A-FRWY is a different design from LS1012A-FRDM,
|
||||
but has some common SoC features. Key feature on this
|
||||
board is 2x1G SGMII PFE MAC, Micro SD, USB 3.0, DDR,
|
||||
QuadSPI, Audio, UART.
|
||||
|
||||
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
Signed-off-by: Li Yang <leoyang.li@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts | 118 +++++++++++++++++++++
|
||||
1 file changed, 118 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
@@ -14,6 +14,58 @@
|
||||
/ {
|
||||
model = "LS1012A FRWY Board";
|
||||
compatible = "fsl,ls1012a-frwy", "fsl,ls1012a";
|
||||
+
|
||||
+ aliases {
|
||||
+ ethernet0 = &pfe_mac0;
|
||||
+ ethernet1 = &pfe_mac1;
|
||||
+ };
|
||||
+
|
||||
+ sys_mclk: clock-mclk {
|
||||
+ compatible = "fixed-clock";
|
||||
+ #clock-cells = <0>;
|
||||
+ clock-frequency = <25000000>;
|
||||
+ };
|
||||
+
|
||||
+ reg_1p8v: regulator-1p8v {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ regulator-name = "1P8V";
|
||||
+ regulator-min-microvolt = <1800000>;
|
||||
+ regulator-max-microvolt = <1800000>;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ sound {
|
||||
+ compatible = "simple-audio-card";
|
||||
+ simple-audio-card,format = "i2s";
|
||||
+ simple-audio-card,widgets =
|
||||
+ "Microphone", "Microphone Jack",
|
||||
+ "Headphone", "Headphone Jack",
|
||||
+ "Speaker", "Speaker Ext",
|
||||
+ "Line", "Line In Jack";
|
||||
+ simple-audio-card,routing =
|
||||
+ "MIC_IN", "Microphone Jack",
|
||||
+ "Microphone Jack", "Mic Bias",
|
||||
+ "LINE_IN", "Line In Jack",
|
||||
+ "Headphone Jack", "HP_OUT",
|
||||
+ "Speaker Ext", "LINE_OUT";
|
||||
+
|
||||
+ simple-audio-card,cpu {
|
||||
+ sound-dai = <&sai2>;
|
||||
+ frame-master;
|
||||
+ bitclock-master;
|
||||
+ };
|
||||
+
|
||||
+ simple-audio-card,codec {
|
||||
+ sound-dai = <&codec>;
|
||||
+ frame-master;
|
||||
+ bitclock-master;
|
||||
+ system-clock-frequency = <25000000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcie {
|
||||
+ status = "okay";
|
||||
};
|
||||
|
||||
&duart0 {
|
||||
@@ -22,4 +74,70 @@
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
+
|
||||
+ codec: sgtl5000@a {
|
||||
+ compatible = "fsl,sgtl5000";
|
||||
+ #sound-dai-cells = <0>;
|
||||
+ reg = <0xa>;
|
||||
+ VDDA-supply = <®_1p8v>;
|
||||
+ VDDIO-supply = <®_1p8v>;
|
||||
+ clocks = <&sys_mclk>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ num-cs = <1>;
|
||||
+ bus-num = <0>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ qflash0: w25q16dw@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ m25p,fast-read;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pfe {
|
||||
+ status = "okay";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x1>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x1>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x0>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&sai2 {
|
||||
+ status = "okay";
|
||||
};
|
@ -0,0 +1,164 @@
|
||||
From 5508bc9764760ca32990d5f7fa494be78e711ff6 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Fri, 5 Oct 2018 18:22:46 -0500
|
||||
Subject: [PATCH] arm64: dts: ls2081ardb: Add DTS support for NXP LS2081ARDB
|
||||
|
||||
This patch add support for NXP LS2081ARDB board which has
|
||||
LS2081A SoC.
|
||||
|
||||
LS2081A SoC is 40-pin derivative of LS2088A SoC
|
||||
So, from functional perspective both are same.
|
||||
Hence,ls2088a SoC dtsi files are included from ls2081ARDB dts
|
||||
|
||||
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
|
||||
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
|
||||
Signed-off-by: Tao Yang <b31903@freescale.com>
|
||||
Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
Signed-off-by: Li Yang <leoyang.li@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/Makefile | 1 +
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts | 127 ++++++++++++++++++++++
|
||||
2 files changed, 128 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/Makefile
|
||||
+++ b/arch/arm64/boot/dts/freescale/Makefile
|
||||
@@ -22,6 +22,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2081a-rdb.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts
|
||||
@@ -0,0 +1,127 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree file for NXP LS2081A RDB Board.
|
||||
+ *
|
||||
+ * Copyright 2017 NXP
|
||||
+ *
|
||||
+ * Priyanka Jain <priyanka.jain@nxp.com>
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "fsl-ls2088a.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "NXP Layerscape 2081A RDB Board";
|
||||
+ compatible = "fsl,ls2081a-rdb", "fsl,ls2081a";
|
||||
+
|
||||
+ aliases {
|
||||
+ serial0 = &serial0;
|
||||
+ serial1 = &serial1;
|
||||
+ };
|
||||
+
|
||||
+ chosen {
|
||||
+ stdout-path = "serial1:115200n8";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&esdhc {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&ifc {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ status = "okay";
|
||||
+ pca9547@75 {
|
||||
+ compatible = "nxp,pca9547";
|
||||
+ reg = <0x75>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ i2c@1 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x01>;
|
||||
+ rtc@51 {
|
||||
+ compatible = "nxp,pcf2129";
|
||||
+ reg = <0x51>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ i2c@2 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x02>;
|
||||
+
|
||||
+ ina220@40 {
|
||||
+ compatible = "ti,ina220";
|
||||
+ reg = <0x40>;
|
||||
+ shunt-resistor = <500>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ i2c@3 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x3>;
|
||||
+
|
||||
+ adt7481@4c {
|
||||
+ compatible = "adi,adt7461";
|
||||
+ reg = <0x4c>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&dspi {
|
||||
+ status = "okay";
|
||||
+ dflash0: n25q512a@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "st,m25p80";
|
||||
+ spi-max-frequency = <3000000>;
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ status = "okay";
|
||||
+ fsl,qspi-has-second-chip;
|
||||
+ flash0: s25fs512s@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
+ flash1: s25fs512s@1 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <1>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&sata0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&sata1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&usb0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&usb1 {
|
||||
+ status = "okay";
|
||||
+};
|
@ -0,0 +1,461 @@
|
||||
From 8fd1ab38e922383fa87db60c48c44ab0d5e6f1c1 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Thu, 2 May 2019 15:52:49 -0500
|
||||
Subject: [PATCH] arm64: dts: ls1012a: accumulated change for ls1012a boards
|
||||
|
||||
commit 65c558ec270003e8e99cb58c940d3b913d08fa39
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Tue May 15 08:47:19 2018 +0800
|
||||
|
||||
arm64: dts: ls1012a: correct the register range of dcfg
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 8f7b4cded4ea1fca53516ae8f5d5bc89af291f26
|
||||
Author: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
Date: Mon May 7 11:52:04 2018 +0530
|
||||
|
||||
arm64: dts: ls1012a: Add LS1012A-FRWY board support
|
||||
|
||||
LS1012A-FRWY is a different design from LS1012A-FRDM,
|
||||
but has some common SoC features. Key feature on this
|
||||
board is 2x1G SGMII PFE MAC, Micro SD, USB 3.0, DDR,
|
||||
QuadSPI, Audio, UART.
|
||||
|
||||
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
|
||||
commit 94fc77837b3b6f4213a49b29ddc3e09e38ae5fbb
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Mon Apr 2 16:16:47 2018 +0800
|
||||
|
||||
arm64: dts: ls1012a: add dts entry for A-010650
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit d4164a6d8cffd8f09c451073754834d58b7ace19
|
||||
Author: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Date: Thu Feb 1 23:44:15 2018 +0530
|
||||
|
||||
arm64: dts: freescale: ls1012a: Add DT nodes for qspi
|
||||
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
|
||||
commit 4fdc98a03492b732a48426a4180f7d6a36847e71
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Wed Nov 1 10:31:47 2017 +0800
|
||||
|
||||
arm64: dts: ls1012a: correct the i2c clock to 1/4 platform pll
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit bb534725996b92aff853a4dee43738629fd4ac08
|
||||
Author: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
Date: Wed Nov 29 06:31:23 2017 +0530
|
||||
|
||||
arm64: dts: freescale: ls1012a: Disable PCIe node as default
|
||||
|
||||
Keep PCIe node in "disabled" status as SoC default.
|
||||
Only enable it for boards with PCIe circuit designed,
|
||||
such as LS1012ARDB and LS1012AQDS.
|
||||
|
||||
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
|
||||
|
||||
commit 6b9a3244baba2c5126f349800ecaad83ba97ee47
|
||||
Author: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Date: Mon Oct 16 12:25:19 2017 +0530
|
||||
|
||||
arm64: dts: freescale: ls1012a: fix RGMII tx delay issue
|
||||
|
||||
Recently logic to enable RGMII tx delay was changed by
|
||||
below patch.
|
||||
|
||||
https://patchwork.kernel.org/patch/9447581/
|
||||
|
||||
Based on the patch, enabling tx delay again using rgmii-txid.
|
||||
|
||||
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Signed-off-by: Anjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com>
|
||||
|
||||
commit 1e17e247088f6e2c08041559e38053b70a9d2bbe
|
||||
Author: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Date: Sat Sep 16 14:20:23 2017 +0530
|
||||
|
||||
arm64: dts: freescale: ls1012a: update with pppfe support
|
||||
|
||||
Update ls1012a dtsi and platform dts files with
|
||||
support for ppfe.
|
||||
|
||||
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Signed-off-by: Anjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com>
|
||||
|
||||
commit e9661ed864d2a9d437057f97729410bb9af994f2
|
||||
Author: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Date: Tue May 16 17:17:21 2017 +0530
|
||||
|
||||
arm64: dts: ls1012a: add the DTS node for QSPI support
|
||||
|
||||
There is a s25fs512s qspi flash on QDS, RDB and FRDM board.
|
||||
|
||||
Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
|
||||
|
||||
commit ed9c51239461fe0322da2e93f50033ea0d05bc4f
|
||||
Author: Chenhui Zhao <chenhui.zhao@nxp.com>
|
||||
Date: Fri May 5 17:45:15 2017 +0800
|
||||
|
||||
arm64: dts: ls1012a: add ftm0 node
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 58 ++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 62 ++++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 62 ++++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 68 +++++++++++++++++++++-
|
||||
4 files changed, 248 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
@@ -13,6 +13,11 @@
|
||||
model = "LS1012A Freedom Board";
|
||||
compatible = "fsl,ls1012a-frdm", "fsl,ls1012a";
|
||||
|
||||
+ aliases {
|
||||
+ ethernet0 = &pfe_mac0;
|
||||
+ ethernet1 = &pfe_mac1;
|
||||
+ };
|
||||
+
|
||||
sys_mclk: clock-mclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
@@ -74,6 +79,44 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&pfe {
|
||||
+ status = "okay";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x1>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x1>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x0>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&sai2 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -81,3 +124,18 @@
|
||||
&sata {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&qspi {
|
||||
+ status = "okay";
|
||||
+ qflash0: s25fs512s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ m25p,fast-read;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <2>;
|
||||
+ spi-tx-bus-width = <2>;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
@@ -13,6 +13,11 @@
|
||||
model = "LS1012A QDS Board";
|
||||
compatible = "fsl,ls1012a-qds", "fsl,ls1012a";
|
||||
|
||||
+ aliases {
|
||||
+ ethernet0 = &pfe_mac0;
|
||||
+ ethernet1 = &pfe_mac1;
|
||||
+ };
|
||||
+
|
||||
sys_mclk: clock-mclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
@@ -57,6 +62,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&pcie {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&dspi {
|
||||
bus-num = <0>;
|
||||
status = "okay";
|
||||
@@ -128,6 +137,44 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&pfe {
|
||||
+ status = "okay";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x2>;
|
||||
+ phy-mode = "sgmii-2500";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x1>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x1>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x3>;
|
||||
+ phy-mode = "sgmii-2500";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x0>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&sai2 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -135,3 +182,18 @@
|
||||
&sata {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&qspi {
|
||||
+ status = "okay";
|
||||
+ qflash0: s25fs512s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ m25p,fast-read;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <2>;
|
||||
+ spi-tx-bus-width = <2>;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
@@ -12,6 +12,15 @@
|
||||
/ {
|
||||
model = "LS1012A RDB Board";
|
||||
compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
|
||||
+
|
||||
+ aliases {
|
||||
+ ethernet0 = &pfe_mac0;
|
||||
+ ethernet1 = &pfe_mac1;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcie {
|
||||
+ status = "okay";
|
||||
};
|
||||
|
||||
&duart0 {
|
||||
@@ -38,3 +47,56 @@
|
||||
&sata {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&pfe {
|
||||
+ status = "okay";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "sgmii";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x1>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ ethernet@1 {
|
||||
+ compatible = "fsl,pfe-gemac-port";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x1>; /* GEM_ID */
|
||||
+ fsl,gemac-bus-id = < 0x1 >; /* BUS_ID */
|
||||
+ fsl,gemac-phy-id = < 0x1 >; /* PHY_ID */
|
||||
+ fsl,mdio-mux-val = <0x0>;
|
||||
+ phy-mode = "rgmii-txid";
|
||||
+ fsl,pfe-phy-if-flags = <0x0>;
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ reg = <0x0>; /* enabled/disabled */
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ status = "okay";
|
||||
+ qflash0: s25fs512s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ m25p,fast-read;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <2>;
|
||||
+ spi-tx-bus-width = <2>;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
@@ -260,7 +260,7 @@
|
||||
dcfg: dcfg@1ee0000 {
|
||||
compatible = "fsl,ls1012a-dcfg",
|
||||
"syscon";
|
||||
- reg = <0x0 0x1ee0000 0x0 0x10000>;
|
||||
+ reg = <0x0 0x1ee0000 0x0 0x1000>;
|
||||
big-endian;
|
||||
};
|
||||
|
||||
@@ -317,13 +317,23 @@
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
|
||||
+ ftm0: ftm0@29d0000 {
|
||||
+ compatible = "fsl,ftm-alarm";
|
||||
+ reg = <0x0 0x29d0000 0x0 0x10000>,
|
||||
+ <0x0 0x1ee2140 0x0 0x4>;
|
||||
+ reg-names = "ftm", "FlexTimer1";
|
||||
+ interrupts = <0 86 0x4>;
|
||||
+ big-endian;
|
||||
+ };
|
||||
+
|
||||
i2c0: i2c@2180000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1012a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2180000 0x0 0x10000>;
|
||||
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clockgen 4 3>;
|
||||
+ scl-gpios = <&gpio0 13 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -395,6 +405,20 @@
|
||||
big-endian;
|
||||
};
|
||||
|
||||
+ qspi: spi@1550000 {
|
||||
+ compatible = "fsl,ls1012a-qspi", "fsl,ls1021a-qspi";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0 0x1550000 0x0 0x10000>,
|
||||
+ <0x0 0x40000000 0x0 0x10000000>;
|
||||
+ reg-names = "QuadSPI", "QuadSPI-memory";
|
||||
+ interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clock-names = "qspi_en", "qspi";
|
||||
+ clocks = <&clockgen 4 0>, <&clockgen 4 0>;
|
||||
+ big-endian;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
sai1: sai@2b50000 {
|
||||
#sound-dai-cells = <0>;
|
||||
compatible = "fsl,vf610-sai";
|
||||
@@ -499,6 +523,46 @@
|
||||
<0000 0 0 4 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
+
|
||||
+ rcpm: rcpm@1ee2000 {
|
||||
+ compatible = "fsl,ls1012a-rcpm", "fsl,qoriq-rcpm-2.1";
|
||||
+ reg = <0x0 0x1ee2000 0x0 0x1000>;
|
||||
+ fsl,#rcpm-wakeup-cells = <1>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ reserved-memory {
|
||||
+ #address-cells = <2>;
|
||||
+ #size-cells = <2>;
|
||||
+ ranges;
|
||||
+
|
||||
+ pfe_reserved: packetbuffer@83400000 {
|
||||
+ reg = <0 0x83400000 0 0xc00000>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ pfe: pfe@04000000 {
|
||||
+ compatible = "fsl,pfe";
|
||||
+ reg = <0x0 0x04000000 0x0 0xc00000>, /* AXI 16M */
|
||||
+ <0x0 0x83400000 0x0 0xc00000>; /* PFE DDR 12M */
|
||||
+ reg-names = "pfe", "pfe-ddr";
|
||||
+ fsl,pfe-num-interfaces = <0x2>;
|
||||
+ interrupts = <0 172 0x4>, /* HIF interrupt */
|
||||
+ <0 173 0x4>, /*HIF_NOCPY interrupt */
|
||||
+ <0 174 0x4>; /* WoL interrupt */
|
||||
+ interrupt-names = "pfe_hif", "pfe_hif_nocpy", "pfe_wol";
|
||||
+ memory-region = <&pfe_reserved>;
|
||||
+ fsl,pfe-scfg = <&scfg 0>;
|
||||
+ fsl,rcpm-wakeup = <&rcpm 0xf0000020>;
|
||||
+ clocks = <&clockgen 4 0>;
|
||||
+ clock-names = "pfe";
|
||||
+
|
||||
+ status = "okay";
|
||||
+ pfe_mac0: ethernet@0 {
|
||||
+ };
|
||||
+
|
||||
+ pfe_mac1: ethernet@1 {
|
||||
+ };
|
||||
};
|
||||
|
||||
firmware {
|
@ -0,0 +1,574 @@
|
||||
From 794b9e55c77bf0ef34dfdb3b151a845c004b3ce3 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Thu, 2 May 2019 16:01:01 -0500
|
||||
Subject: [PATCH] arm64: dts: ls1043a: accumulated change for ls1043a boards
|
||||
|
||||
commit 118e2f48ee8da3f5547c24888bd6fdb78f03b7ce
|
||||
Author: Peng Ma <peng.ma@nxp.com>
|
||||
Date: Wed Jul 25 08:53:07 2018 +0000
|
||||
|
||||
dts: fsl-ls1021a, fsl-ls1043a, fsl-ls1046a: add multi block node
|
||||
support
|
||||
|
||||
add block-offset to support different virtual block offset for qdma
|
||||
base on soc;
|
||||
the interrupt named "qdma-queueN(N:0,1,2,3)" correspond to a virtual
|
||||
block,N based on block number of qdma;
|
||||
|
||||
Signed-off-by: Peng Ma <peng.ma@nxp.com>
|
||||
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Mon Apr 2 16:22:40 2018 +0800
|
||||
|
||||
arm64: dts: ls1043a: add dts entry for A-010650
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit a47e4bd0b5d076feb6d81601c16d5b79e53a92c8
|
||||
Author: Rajesh Bhagat <rajesh.bhagat@freescale.com>
|
||||
Date: Wed Jan 27 11:37:25 2016 +0530
|
||||
|
||||
arm64: dts: ls1043a: Add configure-gfladj property to USB3 node
|
||||
|
||||
Add "configure-gfladj" boolean property to USB3 node. This property
|
||||
is used to determine whether frame length adjustent is required
|
||||
or not
|
||||
|
||||
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
|
||||
commit 38566bbd5ca6747b30d2f0c251bbcfe0723df8c6
|
||||
Author: Changming Huang <jerry.huang@nxp.com>
|
||||
Date: Wed Apr 19 12:49:50 2017 +0800
|
||||
|
||||
arm/arm64: dts: Add property snps incr burst type adjustment for
|
||||
INCR burst type for dwc3
|
||||
|
||||
Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
|
||||
commit 8632d84e0fe187aa023a24f0dad0040c53e12450
|
||||
Author: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
Date: Thu Jan 25 11:31:13 2018 +0530
|
||||
|
||||
arm64: dts: freescale: ls1043a: Modify DT nodes for qspi
|
||||
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
|
||||
commit b1dc1ebed79e9aaab75fd06837d794ec2f1b624d
|
||||
Author: Ran Wang <ran.wang_1@nxp.com>
|
||||
Date: Fri Jan 5 15:14:48 2018 +0800
|
||||
|
||||
arm64: dts: ls1043a: Enable usb3-lpm-capable for usb3 node
|
||||
|
||||
Enable USB3 HW LPM feature for ls1043a and active patch for
|
||||
snps erratum A-010131. It will disable U1/U2 temperary when
|
||||
initiate U3 request.
|
||||
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
|
||||
commit 9b17a5fcf8da5656ff99ebef3d63ba040e9f676d
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Tue Jun 13 13:14:26 2017 +0800
|
||||
|
||||
arm64: dts: correct the register range of dcfg
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit f60e39fd51ad702e3a2613faaca40871a4763735
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Tue Aug 22 18:04:02 2017 +0800
|
||||
|
||||
arm64: dts: ls1043a: add pcf85263 rtc nodes
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 67c82e3c7b376139d7cee624589bedbc311f8868
|
||||
Author: jiaheng.fan <jiaheng.fan@nxp.com>
|
||||
Date: Thu May 11 17:36:33 2017 +0800
|
||||
|
||||
arm64: dts: ls1021/ls1043/ls1046: add qdma nodes
|
||||
Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
|
||||
|
||||
commit c6d9c2498ee83669f9853100301edff9a5905caf
|
||||
Author: Wang Dongsheng <dongsheng.wang@nxp.com>
|
||||
Date: Fri Apr 21 13:26:07 2017 +0800
|
||||
|
||||
arm64: dts: ls1043a: add ftm0 nodes
|
||||
|
||||
Add rcpm and ftm0 nodes. The Power Management related features
|
||||
need these nodes.
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 3bcdc4de0a1c9e6f4a4ddc916e8efe8044d8bbfd
|
||||
Author: Po Liu <po.liu@nxp.com>
|
||||
Date: Fri Sep 30 17:11:36 2016 +0800
|
||||
|
||||
arm64: dts: ls1043/ls2080: add pcie aer/pme interrupt-name property
|
||||
|
||||
Some platforms(NXP Layerscape for example) aer/pme interrupts was
|
||||
not
|
||||
MSI/MSI-X/INTx but using interrupt line independently. This patch
|
||||
add "aer", "pme" interrupt-names for aer/pme interrupt.
|
||||
|
||||
With the interrupt-names "aer", "pme" code could probe aer/pme
|
||||
interrupt
|
||||
line for pcie root port, replace the aer/pme interrupt service irqs.
|
||||
|
||||
This is intend to fixup the Layerscape platforms which aer/pmes
|
||||
interrupts
|
||||
was not MSI/MSI-X/INTx, but using interrupt line independently.
|
||||
|
||||
Since the interrupt-names "intr" never been used. Remove it.
|
||||
|
||||
Signed-off-by: Po Liu <po.liu@nxp.com>
|
||||
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
||||
|
||||
commit 4d20ecf029f1255520b30c103e1724c618b981c7
|
||||
Author: Zhao Qiang <qiang.zhao@nxp.com>
|
||||
Date: Sun Jun 12 15:51:44 2016 +0800
|
||||
|
||||
arm64: dts: ls1043ardb: add ds26522 node
|
||||
|
||||
add ds26522 node to fsl-ls1043a-rdb.dts
|
||||
|
||||
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
|
||||
|
||||
commit ca470562646ab058814fc4a1195016fb3266cdf5
|
||||
Author: Zhao Qiang <qiang.zhao@nxp.com>
|
||||
Date: Sun Jun 12 15:44:11 2016 +0800
|
||||
|
||||
arm64: dts: ls1043ardb: add qe node
|
||||
|
||||
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 162 ++++++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 36 +++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 108 +++++++++++++--
|
||||
3 files changed, 295 insertions(+), 11 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
||||
@@ -24,6 +24,22 @@
|
||||
serial1 = &duart1;
|
||||
serial2 = &duart2;
|
||||
serial3 = &duart3;
|
||||
+ sgmii_riser_s1_p1 = &sgmii_phy_s1_p1;
|
||||
+ sgmii_riser_s2_p1 = &sgmii_phy_s2_p1;
|
||||
+ sgmii_riser_s3_p1 = &sgmii_phy_s3_p1;
|
||||
+ sgmii_riser_s4_p1 = &sgmii_phy_s4_p1;
|
||||
+ qsgmii_s1_p1 = &qsgmii_phy_s1_p1;
|
||||
+ qsgmii_s1_p2 = &qsgmii_phy_s1_p2;
|
||||
+ qsgmii_s1_p3 = &qsgmii_phy_s1_p3;
|
||||
+ qsgmii_s1_p4 = &qsgmii_phy_s1_p4;
|
||||
+ qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
|
||||
+ qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
|
||||
+ qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
|
||||
+ qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
|
||||
+ emi1_slot1 = &ls1043mdio_s1;
|
||||
+ emi1_slot2 = &ls1043mdio_s2;
|
||||
+ emi1_slot3 = &ls1043mdio_s3;
|
||||
+ emi1_slot4 = &ls1043mdio_s4;
|
||||
};
|
||||
|
||||
chosen {
|
||||
@@ -64,6 +80,8 @@
|
||||
fpga: board-control@2,0 {
|
||||
compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
|
||||
reg = <0x2 0x0 0x0000100>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -149,3 +167,147 @@
|
||||
};
|
||||
|
||||
#include "fsl-ls1043-post.dtsi"
|
||||
+
|
||||
+&fman0 {
|
||||
+ ethernet@e0000 {
|
||||
+ phy-handle = <&qsgmii_phy_s2_p1>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e2000 {
|
||||
+ phy-handle = <&qsgmii_phy_s2_p2>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e4000 {
|
||||
+ phy-handle = <&rgmii_phy1>;
|
||||
+ phy-connection-type = "rgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e6000 {
|
||||
+ phy-handle = <&rgmii_phy2>;
|
||||
+ phy-connection-type = "rgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e8000 {
|
||||
+ phy-handle = <&qsgmii_phy_s2_p3>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@ea000 {
|
||||
+ phy-handle = <&qsgmii_phy_s2_p4>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@f0000 { /* DTSEC9/10GEC1 */
|
||||
+ fixed-link = <1 1 10000 0 0>;
|
||||
+ phy-connection-type = "xgmii";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fpga {
|
||||
+ mdio-mux-emi1 {
|
||||
+ compatible = "mdio-mux-mmioreg", "mdio-mux";
|
||||
+ mdio-parent-bus = <&mdio0>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x54 1>; /* BRDCFG4 */
|
||||
+ mux-mask = <0xe0>; /* EMI1 */
|
||||
+
|
||||
+ /* On-board RGMII1 PHY */
|
||||
+ ls1043mdio0: mdio@0 {
|
||||
+ reg = <0>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ rgmii_phy1: ethernet-phy@1 { /* MAC3 */
|
||||
+ reg = <0x1>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* On-board RGMII2 PHY */
|
||||
+ ls1043mdio1: mdio@1 {
|
||||
+ reg = <0x20>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ rgmii_phy2: ethernet-phy@2 { /* MAC4 */
|
||||
+ reg = <0x2>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 1 */
|
||||
+ ls1043mdio_s1: mdio@2 {
|
||||
+ reg = <0x40>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ qsgmii_phy_s1_p1: ethernet-phy@4 {
|
||||
+ reg = <0x4>;
|
||||
+ };
|
||||
+ qsgmii_phy_s1_p2: ethernet-phy@5 {
|
||||
+ reg = <0x5>;
|
||||
+ };
|
||||
+ qsgmii_phy_s1_p3: ethernet-phy@6 {
|
||||
+ reg = <0x6>;
|
||||
+ };
|
||||
+ qsgmii_phy_s1_p4: ethernet-phy@7 {
|
||||
+ reg = <0x7>;
|
||||
+ };
|
||||
+
|
||||
+ sgmii_phy_s1_p1: ethernet-phy@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 2 */
|
||||
+ ls1043mdio_s2: mdio@3 {
|
||||
+ reg = <0x60>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ qsgmii_phy_s2_p1: ethernet-phy@8 {
|
||||
+ reg = <0x8>;
|
||||
+ };
|
||||
+ qsgmii_phy_s2_p2: ethernet-phy@9 {
|
||||
+ reg = <0x9>;
|
||||
+ };
|
||||
+ qsgmii_phy_s2_p3: ethernet-phy@a {
|
||||
+ reg = <0xa>;
|
||||
+ };
|
||||
+ qsgmii_phy_s2_p4: ethernet-phy@b {
|
||||
+ reg = <0xb>;
|
||||
+ };
|
||||
+
|
||||
+ sgmii_phy_s2_p1: ethernet-phy@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 3 */
|
||||
+ ls1043mdio_s3: mdio@4 {
|
||||
+ reg = <0x80>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ sgmii_phy_s3_p1: ethernet-phy@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 4 */
|
||||
+ ls1043mdio_s4: mdio@5 {
|
||||
+ reg = <0xa0>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ sgmii_phy_s4_p1: ethernet-phy@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
|
||||
@@ -49,6 +49,10 @@
|
||||
compatible = "pericom,pt7c4338";
|
||||
reg = <0x68>;
|
||||
};
|
||||
+ rtc@51 {
|
||||
+ compatible = "nxp,pcf85263";
|
||||
+ reg = <0x51>;
|
||||
+ };
|
||||
};
|
||||
|
||||
&ifc {
|
||||
@@ -94,6 +98,38 @@
|
||||
reg = <0>;
|
||||
spi-max-frequency = <1000000>; /* input clock */
|
||||
};
|
||||
+
|
||||
+ slic@2 {
|
||||
+ compatible = "maxim,ds26522";
|
||||
+ reg = <2>;
|
||||
+ spi-max-frequency = <2000000>;
|
||||
+ fsl,spi-cs-sck-delay = <100>;
|
||||
+ fsl,spi-sck-cs-delay = <50>;
|
||||
+ };
|
||||
+
|
||||
+ slic@3 {
|
||||
+ compatible = "maxim,ds26522";
|
||||
+ reg = <3>;
|
||||
+ spi-max-frequency = <2000000>;
|
||||
+ fsl,spi-cs-sck-delay = <100>;
|
||||
+ fsl,spi-sck-cs-delay = <50>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uqe {
|
||||
+ ucc_hdlc: ucc@2000 {
|
||||
+ compatible = "fsl,ucc-hdlc";
|
||||
+ rx-clock-name = "clk8";
|
||||
+ tx-clock-name = "clk9";
|
||||
+ fsl,rx-sync-clock = "rsync_pin";
|
||||
+ fsl,tx-sync-clock = "tsync_pin";
|
||||
+ fsl,tx-timeslot-mask = <0xfffffffe>;
|
||||
+ fsl,rx-timeslot-mask = <0xfffffffe>;
|
||||
+ fsl,tdm-framer-type = "e1";
|
||||
+ fsl,tdm-id = <0>;
|
||||
+ fsl,siram-entry-id = <0>;
|
||||
+ fsl,tdm-interface;
|
||||
+ };
|
||||
};
|
||||
|
||||
&duart0 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -277,7 +277,7 @@
|
||||
|
||||
dcfg: dcfg@1ee0000 {
|
||||
compatible = "fsl,ls1043a-dcfg", "syscon";
|
||||
- reg = <0x0 0x1ee0000 0x0 0x10000>;
|
||||
+ reg = <0x0 0x1ee0000 0x0 0x1000>;
|
||||
big-endian;
|
||||
};
|
||||
|
||||
@@ -411,7 +411,7 @@
|
||||
};
|
||||
|
||||
i2c0: i2c@2180000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1043a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2180000 0x0 0x10000>;
|
||||
@@ -421,6 +421,7 @@
|
||||
dmas = <&edma0 1 39>,
|
||||
<&edma0 1 38>;
|
||||
dma-names = "tx", "rx";
|
||||
+ scl-gpios = <&gpio4 12 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -525,6 +526,72 @@
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
+ uqe: uqe@2400000 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ device_type = "qe";
|
||||
+ compatible = "fsl,qe", "simple-bus";
|
||||
+ ranges = <0x0 0x0 0x2400000 0x40000>;
|
||||
+ reg = <0x0 0x2400000 0x0 0x480>;
|
||||
+ brg-frequency = <100000000>;
|
||||
+ bus-frequency = <200000000>;
|
||||
+
|
||||
+ fsl,qe-num-riscs = <1>;
|
||||
+ fsl,qe-num-snums = <28>;
|
||||
+
|
||||
+ qeic: qeic@80 {
|
||||
+ compatible = "fsl,qe-ic";
|
||||
+ reg = <0x80 0x80>;
|
||||
+ #address-cells = <0>;
|
||||
+ interrupt-controller;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupts = <0 77 0x04 0 77 0x04>;
|
||||
+ };
|
||||
+
|
||||
+ si1: si@700 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ compatible = "fsl,ls1043-qe-si",
|
||||
+ "fsl,t1040-qe-si";
|
||||
+ reg = <0x700 0x80>;
|
||||
+ };
|
||||
+
|
||||
+ siram1: siram@1000 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "fsl,ls1043-qe-siram",
|
||||
+ "fsl,t1040-qe-siram";
|
||||
+ reg = <0x1000 0x800>;
|
||||
+ };
|
||||
+
|
||||
+ ucc@2000 {
|
||||
+ cell-index = <1>;
|
||||
+ reg = <0x2000 0x200>;
|
||||
+ interrupts = <32>;
|
||||
+ interrupt-parent = <&qeic>;
|
||||
+ };
|
||||
+
|
||||
+ ucc@2200 {
|
||||
+ cell-index = <3>;
|
||||
+ reg = <0x2200 0x200>;
|
||||
+ interrupts = <34>;
|
||||
+ interrupt-parent = <&qeic>;
|
||||
+ };
|
||||
+
|
||||
+ muram@10000 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "fsl,qe-muram", "fsl,cpm-muram";
|
||||
+ ranges = <0x0 0x10000 0x6000>;
|
||||
+
|
||||
+ data-only@0 {
|
||||
+ compatible = "fsl,qe-muram-data",
|
||||
+ "fsl,cpm-muram-data";
|
||||
+ reg = <0x0 0x6000>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
lpuart0: serial@2950000 {
|
||||
compatible = "fsl,ls1021a-lpuart";
|
||||
reg = <0x0 0x2950000 0x0 0x1000>;
|
||||
@@ -579,6 +646,16 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ ftm0: ftm0@29d0000 {
|
||||
+ compatible = "fsl,ftm-alarm";
|
||||
+ reg = <0x0 0x29d0000 0x0 0x10000>,
|
||||
+ <0x0 0x1ee2140 0x0 0x4>;
|
||||
+ reg-names = "ftm", "FlexTimer1";
|
||||
+ interrupts = <0 86 0x4>;
|
||||
+ big-endian;
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
wdog0: wdog@2ad0000 {
|
||||
compatible = "fsl,ls1043a-wdt", "fsl,imx21-wdt";
|
||||
reg = <0x0 0x2ad0000 0x0 0x10000>;
|
||||
@@ -611,7 +688,10 @@
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ configure-gfladj;
|
||||
};
|
||||
|
||||
usb1: usb3@3000000 {
|
||||
@@ -621,7 +701,10 @@
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ configure-gfladj;
|
||||
};
|
||||
|
||||
usb2: usb3@3100000 {
|
||||
@@ -631,7 +714,10 @@
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ configure-gfladj;
|
||||
};
|
||||
|
||||
sata: sata@3200000 {
|
||||
@@ -670,9 +756,9 @@
|
||||
reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
|
||||
0x40 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 118 0x4>, /* controller interrupt */
|
||||
- <0 117 0x4>; /* PME interrupt */
|
||||
- interrupt-names = "intr", "pme";
|
||||
+ interrupts = <0 117 0x4>, /* PME interrupt */
|
||||
+ <0 118 0x4>; /* aer interrupt */
|
||||
+ interrupt-names = "pme", "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
@@ -696,9 +782,9 @@
|
||||
reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
|
||||
0x48 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 128 0x4>,
|
||||
- <0 127 0x4>;
|
||||
- interrupt-names = "intr", "pme";
|
||||
+ interrupts = <0 127 0x4>,
|
||||
+ <0 128 0x4>;
|
||||
+ interrupt-names = "pme", "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
@@ -722,9 +808,9 @@
|
||||
reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
|
||||
0x50 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 162 0x4>,
|
||||
- <0 161 0x4>;
|
||||
- interrupt-names = "intr", "pme";
|
||||
+ interrupts = <0 161 0x4>,
|
||||
+ <0 162 0x4>;
|
||||
+ interrupt-names = "pme", "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
@ -0,0 +1,375 @@
|
||||
From 229d32330c7d941b8e04501ad75bc527f6cf1b1c Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Thu, 2 May 2019 16:06:42 -0500
|
||||
Subject: [PATCH] arm64: dts: ls1046a: accumulated change to ls1046a boards
|
||||
|
||||
commit 118e2f48ee8da3f5547c24888bd6fdb78f03b7ce
|
||||
Author: Peng Ma <peng.ma@nxp.com>
|
||||
Date: Wed Jul 25 08:53:07 2018 +0000
|
||||
|
||||
dts: fsl-ls1021a, fsl-ls1043a, fsl-ls1046a: add multi block node
|
||||
support
|
||||
|
||||
add block-offset to support different virtual block offset for qdma
|
||||
base on soc;
|
||||
the interrupt named "qdma-queueN(N:0,1,2,3)" correspond to a virtual
|
||||
block,N based on block number of qdma;
|
||||
|
||||
Signed-off-by: Peng Ma <peng.ma@nxp.com>
|
||||
|
||||
commit 46123df3a174f0d76c8b954a0386e64841453836
|
||||
Author: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Thu Aug 9 12:29:18 2018 +0300
|
||||
|
||||
arm64: dts: updates for Unified Backplane driver
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
|
||||
commit c08136017e8b18eb58b153129487c5dc760afd20
|
||||
Author: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Thu Aug 9 12:23:42 2018 +0300
|
||||
|
||||
arm64: dts: ls1046: add support for 10GBase-KR
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
|
||||
commit 8473f478783f6f601e1c6d7e6afba49a13f3a6a3
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Mon Apr 2 16:24:33 2018 +0800
|
||||
|
||||
arm64: dts: ls1046a: add dts entry for A-010650
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 3159fe9263fb145601ccb07fcb9336a68fba4e08
|
||||
Author: Bao Xiaowei <xiaowei.bao@nxp.com>
|
||||
Date: Fri Oct 13 11:04:39 2017 +0800
|
||||
|
||||
arm64: dts: ls1046a: add the property of IB and OB
|
||||
|
||||
Add the property of inbound and outbound windows number for ep
|
||||
driver.
|
||||
|
||||
Signed-off-by: Bao Xiaowei <xiaowei.bao@nxp.com>
|
||||
|
||||
Acked-by: Minghuan Lian <minghuan.Lian@nxp.com>
|
||||
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
||||
|
||||
commit c8fed58f3c9a0219fda0467791f61abd86eb97f3
|
||||
Author: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
Date: Wed Jan 24 22:56:48 2018 +0530
|
||||
|
||||
arm64: dts: freescale: ls1046a: Modify DT nodes for qspi
|
||||
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
|
||||
commit 96558859ea3a4af44c0b25441f7574ae6222509a
|
||||
Author: Ran Wang <ran.wang_1@nxp.com>
|
||||
Date: Fri Jan 5 15:17:23 2018 +0800
|
||||
|
||||
arm64: dts: ls1046a: Enable usb3-lpm-capable for usb3 node
|
||||
|
||||
Enable USB3 HW LPM feature for ls1046a and active patch for
|
||||
snps erratum A-010131. It will disable U1/U2 temperary when
|
||||
initiate U3 request.
|
||||
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
|
||||
commit 9b17a5fcf8da5656ff99ebef3d63ba040e9f676d
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Tue Jun 13 13:14:26 2017 +0800
|
||||
|
||||
arm64: dts: correct the register range of dcfg
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 67c82e3c7b376139d7cee624589bedbc311f8868
|
||||
Author: jiaheng.fan <jiaheng.fan@nxp.com>
|
||||
Date: Thu May 11 17:36:33 2017 +0800
|
||||
|
||||
arm64: dts: ls1021/ls1043/ls1046: add qdma nodes
|
||||
|
||||
Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
|
||||
|
||||
commit 4a6cef0c83748ee4f6641489fc324bd64095485d
|
||||
Author: Chenhui Zhao <chenhui.zhao@nxp.com>
|
||||
Date: Fri May 5 17:53:27 2017 +0800
|
||||
|
||||
arm64: dts: ls1046a: add ftm0 node
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 148 ++++++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 1 +
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 28 +++-
|
||||
3 files changed, 174 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
|
||||
@@ -25,6 +25,20 @@
|
||||
serial1 = &duart1;
|
||||
serial2 = &duart2;
|
||||
serial3 = &duart3;
|
||||
+
|
||||
+ emi1_slot1 = &ls1046mdio_s1;
|
||||
+ emi1_slot2 = &ls1046mdio_s2;
|
||||
+ emi1_slot4 = &ls1046mdio_s4;
|
||||
+
|
||||
+ sgmii_s1_p1 = &sgmii_phy_s1_p1;
|
||||
+ sgmii_s1_p2 = &sgmii_phy_s1_p2;
|
||||
+ sgmii_s1_p3 = &sgmii_phy_s1_p3;
|
||||
+ sgmii_s1_p4 = &sgmii_phy_s1_p4;
|
||||
+ sgmii_s4_p1 = &sgmii_phy_s4_p1;
|
||||
+ qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
|
||||
+ qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
|
||||
+ qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
|
||||
+ qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
|
||||
};
|
||||
|
||||
chosen {
|
||||
@@ -177,3 +191,137 @@
|
||||
};
|
||||
|
||||
#include "fsl-ls1046-post.dtsi"
|
||||
+
|
||||
+&fman0 {
|
||||
+ ethernet@e0000 {
|
||||
+ phy-handle = <&qsgmii_phy_s2_p1>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e2000 {
|
||||
+ phy-handle = <&sgmii_phy_s4_p1>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e4000 {
|
||||
+ phy-handle = <&rgmii_phy1>;
|
||||
+ phy-connection-type = "rgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e6000 {
|
||||
+ phy-handle = <&rgmii_phy2>;
|
||||
+ phy-connection-type = "rgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@e8000 {
|
||||
+ phy-handle = <&sgmii_phy_s1_p3>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@ea000 {
|
||||
+ phy-handle = <&sgmii_phy_s1_p4>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@f0000 { /* DTSEC9/10GEC1 */
|
||||
+ phy-handle = <&sgmii_phy_s1_p1>;
|
||||
+ phy-connection-type = "xgmii";
|
||||
+ };
|
||||
+
|
||||
+ ethernet@f2000 { /* DTSEC10/10GEC2 */
|
||||
+ phy-handle = <&sgmii_phy_s1_p2>;
|
||||
+ phy-connection-type = "xgmii";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fpga {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ mdio-mux-emi1 {
|
||||
+ compatible = "mdio-mux-mmioreg", "mdio-mux";
|
||||
+ mdio-parent-bus = <&mdio0>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x54 1>; /* BRDCFG4 */
|
||||
+ mux-mask = <0xe0>; /* EMI1 */
|
||||
+
|
||||
+ /* On-board RGMII1 PHY */
|
||||
+ ls1046mdio0: mdio@0 {
|
||||
+ reg = <0>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ rgmii_phy1: ethernet-phy@1 { /* MAC3 */
|
||||
+ reg = <0x1>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* On-board RGMII2 PHY */
|
||||
+ ls1046mdio1: mdio@1 {
|
||||
+ reg = <0x20>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ rgmii_phy2: ethernet-phy@2 { /* MAC4 */
|
||||
+ reg = <0x2>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 1 */
|
||||
+ ls1046mdio_s1: mdio@2 {
|
||||
+ reg = <0x40>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ sgmii_phy_s1_p1: ethernet-phy@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ };
|
||||
+
|
||||
+ sgmii_phy_s1_p2: ethernet-phy@1d {
|
||||
+ reg = <0x1d>;
|
||||
+ };
|
||||
+
|
||||
+ sgmii_phy_s1_p3: ethernet-phy@1e {
|
||||
+ reg = <0x1e>;
|
||||
+ };
|
||||
+
|
||||
+ sgmii_phy_s1_p4: ethernet-phy@1f {
|
||||
+ reg = <0x1f>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 2 */
|
||||
+ ls1046mdio_s2: mdio@3 {
|
||||
+ reg = <0x60>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ qsgmii_phy_s2_p1: ethernet-phy@8 {
|
||||
+ reg = <0x8>;
|
||||
+ };
|
||||
+ qsgmii_phy_s2_p2: ethernet-phy@9 {
|
||||
+ reg = <0x9>;
|
||||
+ };
|
||||
+ qsgmii_phy_s2_p3: ethernet-phy@a {
|
||||
+ reg = <0xa>;
|
||||
+ };
|
||||
+ qsgmii_phy_s2_p4: ethernet-phy@b {
|
||||
+ reg = <0xb>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ /* Slot 4 */
|
||||
+ ls1046mdio_s4: mdio@5 {
|
||||
+ reg = <0x80>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ sgmii_phy_s4_p1: ethernet-phy@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
|
||||
@@ -100,6 +100,7 @@
|
||||
|
||||
&qspi {
|
||||
status = "okay";
|
||||
+ fsl,qspi-has-second-chip;
|
||||
|
||||
qflash0: flash@0 {
|
||||
compatible = "spansion,m25p80";
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -304,7 +304,7 @@
|
||||
|
||||
dcfg: dcfg@1ee0000 {
|
||||
compatible = "fsl,ls1046a-dcfg", "syscon";
|
||||
- reg = <0x0 0x1ee0000 0x0 0x10000>;
|
||||
+ reg = <0x0 0x1ee0000 0x0 0x1000>;
|
||||
big-endian;
|
||||
};
|
||||
|
||||
@@ -376,7 +376,7 @@
|
||||
};
|
||||
|
||||
i2c0: i2c@2180000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1046a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2180000 0x0 0x10000>;
|
||||
@@ -385,6 +385,7 @@
|
||||
dmas = <&edma0 1 39>,
|
||||
<&edma0 1 38>;
|
||||
dma-names = "tx", "rx";
|
||||
+ scl-gpios = <&gpio3 12 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -409,12 +410,13 @@
|
||||
};
|
||||
|
||||
i2c3: i2c@21b0000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1046a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x21b0000 0x0 0x10000>;
|
||||
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clockgen 4 1>;
|
||||
+ scl-gpios = <&gpio3 12 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -544,6 +546,15 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ ftm0: ftm0@29d0000 {
|
||||
+ compatible = "fsl,ftm-alarm";
|
||||
+ reg = <0x0 0x29d0000 0x0 0x10000>,
|
||||
+ <0x0 0x1ee2140 0x0 0x4>;
|
||||
+ reg-names = "ftm", "FlexTimer1";
|
||||
+ interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ big-endian;
|
||||
+ };
|
||||
+
|
||||
wdog0: watchdog@2ad0000 {
|
||||
compatible = "fsl,imx21-wdt";
|
||||
reg = <0x0 0x2ad0000 0x0 0x10000>;
|
||||
@@ -576,6 +587,8 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
};
|
||||
|
||||
usb1: usb@3000000 {
|
||||
@@ -586,6 +599,8 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
};
|
||||
|
||||
usb2: usb@3100000 {
|
||||
@@ -596,6 +611,8 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
};
|
||||
|
||||
sata: sata@3200000 {
|
||||
@@ -637,6 +654,11 @@
|
||||
<GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
+ serdes1: serdes@1ea0000 {
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ compatible = "fsl,serdes-10g";
|
||||
+ };
|
||||
+
|
||||
pcie@3400000 {
|
||||
compatible = "fsl,ls1046a-pcie";
|
||||
reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
|
@ -0,0 +1,540 @@
|
||||
From 2790ba4aa3e487ac29d6027eb226ed986f0e2769 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Thu, 2 May 2019 16:10:03 -0500
|
||||
Subject: [PATCH] arm64: dts: ls1088a: accumulated change to ls1088a boards
|
||||
|
||||
commit f967940f2fb73bc7ec676dbad9f32fbf4e7fea2b
|
||||
Author: Pengbo Mu <pengbo.mu@nxp.com>
|
||||
Date: Fri Jul 13 16:19:36 2018 +0800
|
||||
|
||||
arm64: dts: ls1088a: add snps incr burst type adjustment in usb0 &
|
||||
usb1
|
||||
|
||||
This property could fix the defect that external usb device always
|
||||
prints this error log --- 'reset SuperSpeed USB device number n
|
||||
using
|
||||
xhci_hcd' when system power on.
|
||||
|
||||
Signed-off-by: Pengbo Mu <pengbo.mu@nxp.com>
|
||||
|
||||
commit 46123df3a174f0d76c8b954a0386e64841453836
|
||||
Author: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Thu Aug 9 12:29:18 2018 +0300
|
||||
|
||||
arm64: dts: updates for Unified Backplane driver
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
|
||||
commit 3b214bd42d47ebe7b6af925a3ffcf09aaaaabfb9
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Sat Apr 28 00:20:48 2018 +0530
|
||||
|
||||
arm64: dts: ls1088: add dma-cohernet property in fsl-mc node
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit 240b04a98171f6774d1c3c498f8cb21f4411ac5f
|
||||
Author: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Thu Apr 26 12:26:54 2018 +0300
|
||||
|
||||
arm64: dts: ls1088a: move fsl-mc node as a child of soc
|
||||
|
||||
Move the fsl-mc hardware manager node in the soc node because all
|
||||
the
|
||||
soc settings (such as 'dma-ranges') also apply to the fsl-mc and
|
||||
need
|
||||
to be propagated to it.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
|
||||
commit 3f2f50950f763d1335181ce374a11ed118abf0fa
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Wed Apr 25 09:43:47 2018 +0530
|
||||
|
||||
arm64: dts: ls1088: add dma ranges property
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit 6afd0157e8fa2510790537855c86f8a7c1431abe
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Mon Apr 2 16:25:38 2018 +0800
|
||||
|
||||
arm64: dts: ls1088a: add dts entry for A-010650
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 0f8432c30c44771f9180aa7bf7580ad1d7e7c9d3
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Mon Feb 26 10:40:37 2018 +0530
|
||||
|
||||
arm64: dts: ls1088a: add dma coherent property in smmu node
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit 6417c66b823ab380cf73ee252a998d98b28f0180
|
||||
Author: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Date: Fri Feb 2 00:04:41 2018 +0530
|
||||
|
||||
arm64: dts: freescale: ls1088a: Modify DT nodes for qspi
|
||||
|
||||
Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
|
||||
|
||||
commit 01a1ea9e781d307ab87da95043ec898736495fff
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Thu Nov 2 10:36:48 2017 +0800
|
||||
|
||||
arm64: dts: ls1088a: correct the i2c clock to 1/8 platform pll
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 60122f1192e1cc23e5952468cc5a884287d64907
|
||||
Author: Bharat Bhushan <Bharat.Bhushan@nxp.com>
|
||||
Date: Thu Sep 7 10:08:31 2017 +0530
|
||||
|
||||
arm64: dts: ls1088a: Add iommu-map property for pci
|
||||
|
||||
This patch adds iommu-map property for PCIe, which enables
|
||||
SMMU for these devices on LS1088.
|
||||
|
||||
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
|
||||
|
||||
commit 43c4d0cf074106b411280c5b2be75d5d6e63fb01
|
||||
Author: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||||
Date: Mon Aug 21 11:43:07 2017 +0300
|
||||
|
||||
arm64: dts: ls1088a: add backplane support
|
||||
|
||||
Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||||
|
||||
commit 57d49424694f72adbf7cf1dbeff38704f0d65359
|
||||
Author: Ashish Kumar <Ashish.Kumar@nxp.com>
|
||||
Date: Mon Jun 19 18:32:13 2017 +0530
|
||||
|
||||
arm64: dts: ls1088: Add Reboot node in dtsi
|
||||
|
||||
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
|
||||
|
||||
commit ee950989a7babc240153a20fe468573e13d61f98
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Thu May 11 14:59:28 2017 +0800
|
||||
|
||||
arm64: dts: ls1088a: add ftm0 nodes
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 6d3a96446a7ffccb0b9936b616d855c8d5572bce
|
||||
Author: Bogdan Purcareata <bogdan.purcareata@nxp.com>
|
||||
Date: Wed May 3 14:26:35 2017 +0000
|
||||
|
||||
arm64: dts: fsl/ls1088,ls208x: Add mdio and phy nodes
|
||||
|
||||
Add mdio and phy nodes for the following FSL platforms:
|
||||
- LS1088A RDB
|
||||
- LS2080A QDS & RDB
|
||||
- LS2088A QDS, RDB & simu
|
||||
|
||||
Contains contributions from patches by the following authors:
|
||||
Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
|
||||
Signed-off-by: Rai Harninder <harninder.rai@nxp.com>
|
||||
Signed-off-by: Pratiyush Mohan Srivastava
|
||||
<pratiyush.srivastava@nxp.com>
|
||||
Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
|
||||
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
|
||||
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
|
||||
Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
|
||||
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
|
||||
|
||||
commit 971ff2e74cfebb84286ec3e191f5910dded4bd41
|
||||
Author: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Date: Thu May 4 18:04:44 2017 +0530
|
||||
|
||||
arm64: dts: ls1088a: Add QSPI node for QDS, RDB
|
||||
|
||||
This is temporary patch, will rewrite for open source
|
||||
|
||||
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
|
||||
Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
|
||||
commit c61036e6dfe264d61cc213293040d873d863e8ac
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Thu Apr 27 23:35:15 2017 +0530
|
||||
|
||||
arm64: dts: add iommu-map property in fsl-mc node
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit a4412cc510162a900d10c8ca4add71defb3f2d97
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Wed Apr 19 22:26:15 2017 +0530
|
||||
|
||||
arm64: dts: add smmu device node in LS1088 devicetree
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 50 ++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 104 +++++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 108 +++++++++++++++++++++-
|
||||
3 files changed, 261 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
|
||||
@@ -131,6 +131,30 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&qspi {
|
||||
+ status = "okay";
|
||||
+ fsl,qspi-has-second-chip;
|
||||
+ qflash0: s25fs512s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+
|
||||
+ qflash1: s25fs512s@1 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <1>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&duart0 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -146,3 +170,29 @@
|
||||
&sata {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&pcs_mdio1 {
|
||||
+ pcs_phy1: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x840 0x40>;/* lane B */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio2 {
|
||||
+ pcs_phy2: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x800 0x40>;/* lane A */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Update DPMAC connections to backplane PHYs, under SerDes 0x1D_0xXX.
|
||||
+ * &dpmac1 {
|
||||
+ * phy-handle = <&pcs_phy1>;
|
||||
+ * };
|
||||
+ */
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
|
||||
@@ -74,6 +74,31 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&qspi {
|
||||
+ status = "okay";
|
||||
+ fsl,qspi-has-second-chip;
|
||||
+ qflash0: s25fs512s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+
|
||||
+ qflash1: s25fs512s@1 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <1>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
+
|
||||
&duart0 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -97,3 +122,82 @@
|
||||
&usb1 {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&emdio1 {
|
||||
+ /* Freescale F104 PHY1 */
|
||||
+ mdio1_phy1: emdio1_phy@1 {
|
||||
+ reg = <0x1c>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ mdio1_phy2: emdio1_phy@2 {
|
||||
+ reg = <0x1d>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ mdio1_phy3: emdio1_phy@3 {
|
||||
+ reg = <0x1e>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ mdio1_phy4: emdio1_phy@4 {
|
||||
+ reg = <0x1f>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ /* F104 PHY2 */
|
||||
+ mdio1_phy5: emdio1_phy@5 {
|
||||
+ reg = <0x0c>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ mdio1_phy6: emdio1_phy@6 {
|
||||
+ reg = <0x0d>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ mdio1_phy7: emdio1_phy@7 {
|
||||
+ reg = <0x0e>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+ mdio1_phy8: emdio1_phy@8 {
|
||||
+ reg = <0x0f>;
|
||||
+ phy-connection-type = "qsgmii";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&emdio2 {
|
||||
+ /* Aquantia AQR105 10G PHY */
|
||||
+ mdio2_phy1: emdio2_phy@1 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 2 0x4>;
|
||||
+ reg = <0x0>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* DPMAC connections to external PHYs
|
||||
+ * based on LS1088A RM RevC - $24.1.2 SerDes Options
|
||||
+ */
|
||||
+/* DPMAC1 is 10G SFP+, fixed link */
|
||||
+&dpmac2 {
|
||||
+ phy-handle = <&mdio2_phy1>;
|
||||
+};
|
||||
+&dpmac3 {
|
||||
+ phy-handle = <&mdio1_phy5>;
|
||||
+};
|
||||
+&dpmac4 {
|
||||
+ phy-handle = <&mdio1_phy6>;
|
||||
+};
|
||||
+&dpmac5 {
|
||||
+ phy-handle = <&mdio1_phy7>;
|
||||
+};
|
||||
+&dpmac6 {
|
||||
+ phy-handle = <&mdio1_phy8>;
|
||||
+};
|
||||
+&dpmac7 {
|
||||
+ phy-handle = <&mdio1_phy1>;
|
||||
+};
|
||||
+&dpmac8 {
|
||||
+ phy-handle = <&mdio1_phy2>;
|
||||
+};
|
||||
+&dpmac9 {
|
||||
+ phy-handle = <&mdio1_phy3>;
|
||||
+};
|
||||
+&dpmac10 {
|
||||
+ phy-handle = <&mdio1_phy4>;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
@@ -185,6 +185,19 @@
|
||||
clock-output-names = "sysclk";
|
||||
};
|
||||
|
||||
+ rstcr: syscon@1e60000 {
|
||||
+ compatible = "fsl,ls1088a-rstcr", "syscon";
|
||||
+ reg = <0x0 0x1e60000 0x0 0x4>;
|
||||
+ };
|
||||
+
|
||||
+ reboot {
|
||||
+ compatible = "syscon-reboot";
|
||||
+ regmap = <&rstcr>;
|
||||
+ offset = <0x0>;
|
||||
+ mask = <0x02>;
|
||||
+ };
|
||||
+
|
||||
+
|
||||
soc {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <2>;
|
||||
@@ -205,6 +218,11 @@
|
||||
little-endian;
|
||||
};
|
||||
|
||||
+ serdes1: serdes@1ea0000 {
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ compatible = "fsl,serdes-10g";
|
||||
+ };
|
||||
+
|
||||
tmu: tmu@1f80000 {
|
||||
compatible = "fsl,qoriq-tmu";
|
||||
reg = <0x0 0x1f80000 0x0 0x10000>;
|
||||
@@ -325,6 +343,72 @@
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
+ /* TODO: WRIOP (CCSR?) */
|
||||
+ emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ * E-MDIO1: 0x1_6000
|
||||
+ */
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8B96000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+
|
||||
+ /* Not necessary on the QDS, but needed on the RDB */
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ * E-MDIO2: 0x1_7000
|
||||
+ */
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8B97000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio1: mdio@0x8c07000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c07000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio2: mdio@0x8c0b000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c0b000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio3: mdio@0x8c0f000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c0f000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio4: mdio@0x8c13000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c13000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
ifc: ifc@2240000 {
|
||||
compatible = "fsl,ifc", "simple-bus";
|
||||
reg = <0x0 0x2240000 0x0 0x20000>;
|
||||
@@ -335,13 +419,20 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ ftm0: ftm0@2800000 {
|
||||
+ compatible = "fsl,ftm-alarm";
|
||||
+ reg = <0x0 0x2800000 0x0 0x10000>;
|
||||
+ interrupts = <0 44 4>;
|
||||
+ };
|
||||
+
|
||||
i2c0: i2c@2000000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1088a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2000000 0x0 0x10000>;
|
||||
interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clockgen 4 7>;
|
||||
+ scl-gpios = <&gpio3 30 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -405,6 +496,7 @@
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -418,6 +510,17 @@
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
+ qspi: spi@20c0000 {
|
||||
+ compatible = "fsl,ls2080a-qspi", "fsl,ls1088a-qspi";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0 0x20c0000 0x0 0x10000>,
|
||||
+ <0x0 0x20000000 0x0 0x10000000>;
|
||||
+ reg-names = "QuadSPI", "QuadSPI-memory";
|
||||
+ interrupts = <0 25 0x4>; /* Level high type */
|
||||
+ clocks = <&clockgen 4 3>, <&clockgen 4 3>;
|
||||
+ clock-names = "qspi_en", "qspi";
|
||||
+ };
|
||||
|
||||
crypto: crypto@8000000 {
|
||||
compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
|
||||
@@ -474,6 +577,7 @@
|
||||
ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 109 IRQ_TYPE_LEVEL_HIGH>,
|
||||
@@ -499,6 +603,7 @@
|
||||
ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 114 IRQ_TYPE_LEVEL_HIGH>,
|
||||
@@ -524,6 +629,7 @@
|
||||
ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 119 IRQ_TYPE_LEVEL_HIGH>,
|
@ -0,0 +1,959 @@
|
||||
From 9d8de47b617baa4fa92d9a1502904c0373f80384 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Thu, 2 May 2019 16:12:40 -0500
|
||||
Subject: [PATCH] arm64: dts: ls208xa: accumulated change to ls208xa boards
|
||||
|
||||
commit 46123df3a174f0d76c8b954a0386e64841453836
|
||||
Author: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Thu Aug 9 12:29:18 2018 +0300
|
||||
|
||||
arm64: dts: updates for Unified Backplane driver
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
|
||||
commit 76a741dbb9b93ea9ab2f6122b8df5bc4f0db7676
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Sat Apr 28 00:20:16 2018 +0530
|
||||
|
||||
arm64: dts: ls208x: add dma-cohernet property in fsl-mc node
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit f6309e9dc8e0c6171a43fd6759123b5de1c574aa
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Mon Apr 2 16:27:23 2018 +0800
|
||||
|
||||
arm64: dts: ls208xa: add dts entry for A-010650
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 8c37bad2038a210a4f0a369fd946aaae4317eac4
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Fri Apr 20 17:14:10 2018 +0530
|
||||
|
||||
arm64: dts: ls208x: add dma ranges property
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit 38566bbd5ca6747b30d2f0c251bbcfe0723df8c6
|
||||
Author: Changming Huang <jerry.huang@nxp.com>
|
||||
Date: Wed Apr 19 12:49:50 2017 +0800
|
||||
|
||||
arm/arm64: dts: Add property snps incr burst type adjustment for
|
||||
INCR burst type for dwc3
|
||||
|
||||
Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
|
||||
commit dbb65ea8ee1d46067e756c6d64c7fe66a0058f49
|
||||
Author: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Date: Mon Mar 5 12:37:04 2018 +0530
|
||||
|
||||
arm64: dts: ls208x: remove NXP Erratum A008585 from LS2088A.
|
||||
|
||||
NXP Erratum A008585 affects A57 core cluster used in LS2085rev1.
|
||||
However this problem has been fixed in A72 core cluster used in
|
||||
LS2088.
|
||||
Therefore remove the erratum from LS2088A. Keeping it only in
|
||||
LS2085.
|
||||
|
||||
Cc: <stable@vger.kernel.org> # 4.14
|
||||
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Reviewed-by: Sandeep Malik <sandeep.malik@nxp.com>
|
||||
Acked-by: Priyanka Jain <priyanka.jain@nxp.com>
|
||||
|
||||
commit 85f41b0f6abe6b9d7d303790bb3712ed559890e9
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Mon Feb 26 10:39:54 2018 +0530
|
||||
|
||||
arm64: dts: ls208xa: add dma coherent property in smmu node
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
|
||||
commit e910d8b78b823a625451b1da7ae7499dadde2ae9
|
||||
Author: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Date: Thu Feb 1 23:49:56 2018 +0530
|
||||
|
||||
arm64: dts: freescale: ls208xa: Modify DT nodes for qspi
|
||||
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
|
||||
commit 7654ef78c8c85de3a43dfa0dffd572d589ea1332
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Wed Nov 1 10:34:04 2017 +0800
|
||||
|
||||
arm64: dts: ls208xa: correct the i2c clock to 1/2 platform pll
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit efdb129228baa6a999c06072338b979d783d7b60
|
||||
Author: Bharat Bhushan <Bharat.Bhushan@nxp.com>
|
||||
Date: Thu Aug 31 14:45:02 2017 +0530
|
||||
|
||||
arm64: dts: ls208xa: Add iommu-map property for pci
|
||||
|
||||
This patch adds iommu-map property for PCIe, which enables
|
||||
SMMU for these devices on LS208xA devices.
|
||||
|
||||
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
|
||||
|
||||
commit 45af5d025eafaf4a85000e16e5f47992de663ff6
|
||||
Author: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||||
Date: Mon Aug 21 11:46:59 2017 +0300
|
||||
|
||||
arm64: dts: ls2088a: update backplane support with dpmac connections
|
||||
|
||||
Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
||||
|
||||
commit b2ede6c088a883fceb348e8659253b2c7cdeeff8
|
||||
Author: Santan Kumar <santan.kumar@nxp.com>
|
||||
Date: Thu Jun 22 13:04:00 2017 +0530
|
||||
|
||||
arm64: dts: ls2088ardb: Update nodes for QSPI
|
||||
|
||||
-As per board design, different QSPI flash is connected on
|
||||
boards, hence change QSPI flash node from s25fl256s1 to s25fs512ss
|
||||
in
|
||||
device tree.
|
||||
-Enable fast-read support in QSPI node.
|
||||
|
||||
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
|
||||
|
||||
commit d5324a75c56e9f9210113e51cffa846a86b50fbd
|
||||
Author: Santan Kumar <santan.kumar@nxp.com>
|
||||
Date: Mon Jun 19 15:26:03 2017 +0530
|
||||
|
||||
arm64: dts: ls2081ardb: Update nodes for QSPI, SATA, INA220
|
||||
|
||||
Update ls2081ardb.dts for below nodes:
|
||||
-As per updated board design, different QSPI flash is connected on
|
||||
boards, hence change QSPI flash node from n25q512a to s25fs512ss
|
||||
in
|
||||
device tree.
|
||||
-Enable dual flash support in QSPI node.
|
||||
-Add DTS node for INA220.
|
||||
-Enable SATA node.
|
||||
|
||||
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
|
||||
Signed-off-by: Tao Yang <b31903@freescale.com>
|
||||
Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
|
||||
|
||||
commit 43d506fa19e1e50e4c2e4f9689ad3c60d9a06d71
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Thu May 11 08:42:19 2017 +0800
|
||||
|
||||
arm64: dts: ls208x: add property for PCA954x Mux device
|
||||
|
||||
PCA954x Mux device should never be turned-off after power-on. if
|
||||
device tree contians "i2c-mux-never-disable" property for pca954x
|
||||
device node, it can ensure that skip disabling PCA954x Mux device.
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 6d3a96446a7ffccb0b9936b616d855c8d5572bce
|
||||
Author: Bogdan Purcareata <bogdan.purcareata@nxp.com>
|
||||
Date: Wed May 3 14:26:35 2017 +0000
|
||||
|
||||
arm64: dts: fsl/ls1088,ls208x: Add mdio and phy nodes
|
||||
|
||||
Add mdio and phy nodes for the following FSL platforms:
|
||||
- LS1088A RDB
|
||||
- LS2080A QDS & RDB
|
||||
- LS2088A QDS, RDB & simu
|
||||
|
||||
Contains contributions from patches by the following authors:
|
||||
Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
|
||||
Signed-off-by: Rai Harninder <harninder.rai@nxp.com>
|
||||
Signed-off-by: Pratiyush Mohan Srivastava
|
||||
<pratiyush.srivastava@nxp.com>
|
||||
Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
|
||||
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
|
||||
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
|
||||
Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
|
||||
Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
|
||||
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
|
||||
|
||||
commit 0443625ea24bc4ea315c30b718712254c588bd18
|
||||
Author: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
Date: Fri May 5 13:54:22 2017 +0530
|
||||
|
||||
arm64: dts: ls208xa: Add QSPI Flash node for RDB
|
||||
|
||||
This is temporary patch, will rewrite for open source
|
||||
|
||||
Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
|
||||
|
||||
commit ed0ce1d49aa72d12ea54f82d3771a377c68af37e
|
||||
Author: Priyanka Jain <priyanka.jain@nxp.com>
|
||||
Date: Thu Apr 13 16:49:40 2017 +0530
|
||||
|
||||
arm64: dts: ls2081ardb: Add DTS support for NXP LS2081ARDB
|
||||
|
||||
This patch add support for NXP LS2081ARDB board which has
|
||||
LS2081A SoC.
|
||||
|
||||
LS2081A SoC is 40-pin derivative of LS2088A SoC
|
||||
So, from functional perspective both are same.
|
||||
Hence,ls2088a SoC dtsi files are included from ls2081ARDB dts
|
||||
|
||||
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
|
||||
|
||||
commit e4fb842554a5e7b8c3f6e3c243222dbe4515aee3
|
||||
Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Thu Apr 27 15:01:54 2017 +0800
|
||||
|
||||
arm64: dts: ls208xa: add ftm0 nodes
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
|
||||
commit 64c3e2c3a7ddc89c3c23c012ee364f2c014524d2
|
||||
Author: costi <constantin.tudor@freescale.com>
|
||||
Date: Fri Mar 3 18:08:28 2017 +0200
|
||||
|
||||
arm64: dts: fsl-ls2088: Add mdio/phy devices
|
||||
|
||||
Signed-off-by: Constantin Tudor <constantin.tudor@nxp.com>
|
||||
|
||||
commit 3bcdc4de0a1c9e6f4a4ddc916e8efe8044d8bbfd
|
||||
Author: Po Liu <po.liu@nxp.com>
|
||||
Date: Fri Sep 30 17:11:36 2016 +0800
|
||||
|
||||
arm64: dts: ls1043/ls2080: add pcie aer/pme interrupt-name property
|
||||
|
||||
Some platforms(NXP Layerscape for example) aer/pme interrupts was
|
||||
not
|
||||
MSI/MSI-X/INTx but using interrupt line independently. This patch
|
||||
add "aer", "pme" interrupt-names for aer/pme interrupt.
|
||||
|
||||
With the interrupt-names "aer", "pme" code could probe aer/pme
|
||||
interrupt
|
||||
line for pcie root port, replace the aer/pme interrupt service irqs.
|
||||
|
||||
This is intend to fixup the Layerscape platforms which aer/pmes
|
||||
interrupts
|
||||
was not MSI/MSI-X/INTx, but using interrupt line independently.
|
||||
|
||||
Since the interrupt-names "intr" never been used. Remove it.
|
||||
|
||||
Signed-off-by: Po Liu <po.liu@nxp.com>
|
||||
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
||||
|
||||
commit 64d859836d3d194e8bc926bb951fd21859689824
|
||||
Author: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Mon Dec 5 05:20:51 2016 +0530
|
||||
|
||||
arm64: dts: ls208xa: Comply with the new iommu binding for fsl_mc
|
||||
|
||||
fsl-mc bus support the new iommu-map property. Comply to this
|
||||
binding
|
||||
for fsl_mc bus.
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 62 +++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts | 80 +++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 12 ++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts | 120 ++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts | 80 +++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi | 1 +
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 11 +-
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 155 +++++++++++++++++++--
|
||||
8 files changed, 505 insertions(+), 16 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
|
||||
@@ -23,3 +23,65 @@
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
+
|
||||
+&ifc {
|
||||
+ boardctrl: board-control@3,0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "fsl,tetra-fpga", "fsl,fpga-qixis", "simple-bus";
|
||||
+ reg = <3 0 0x300>; /* TODO check address */
|
||||
+ ranges = <0 3 0 0x300>;
|
||||
+
|
||||
+ mdio_mux_emi1 {
|
||||
+ compatible = "mdio-mux-mmioreg", "mdio-mux";
|
||||
+ mdio-parent-bus = <&emdio1>;
|
||||
+ reg = <0x54 1>; /* BRDCFG4 */
|
||||
+ mux-mask = <0xe0>; /* EMI1_MDIO */
|
||||
+
|
||||
+ #address-cells=<1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ /* Child MDIO buses, one for each riser card:
|
||||
+ * reg = 0x0, 0x20, 0x40, 0x60, 0x80, 0xa0.
|
||||
+ * VSC8234 PHYs on the riser cards.
|
||||
+ */
|
||||
+
|
||||
+ mdio_mux3: mdio@60 {
|
||||
+ reg = <0x60>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ mdio0_phy12: mdio_phy0@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ mdio0_phy13: mdio_phy1@1d {
|
||||
+ reg = <0x1d>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ mdio0_phy14: mdio_phy2@1e {
|
||||
+ reg = <0x1e>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ mdio0_phy15: mdio_phy3@1f {
|
||||
+ reg = <0x1f>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Update DPMAC connections to external PHYs, under SerDes 0x2a_0x49. */
|
||||
+&dpmac9 {
|
||||
+ phy-handle = <&mdio0_phy12>;
|
||||
+};
|
||||
+&dpmac10 {
|
||||
+ phy-handle = <&mdio0_phy13>;
|
||||
+};
|
||||
+&dpmac11 {
|
||||
+ phy-handle = <&mdio0_phy14>;
|
||||
+};
|
||||
+&dpmac12 {
|
||||
+ phy-handle = <&mdio0_phy15>;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts
|
||||
@@ -23,3 +23,83 @@
|
||||
stdout-path = "serial1:115200n8";
|
||||
};
|
||||
};
|
||||
+
|
||||
+&emdio1 {
|
||||
+ status = "disabled";
|
||||
+ /* CS4340 PHYs */
|
||||
+ mdio1_phy1: emdio1_phy@1 {
|
||||
+ reg = <0x10>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio1_phy2: emdio1_phy@2 {
|
||||
+ reg = <0x11>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio1_phy3: emdio1_phy@3 {
|
||||
+ reg = <0x12>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio1_phy4: emdio1_phy@4 {
|
||||
+ reg = <0x13>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&emdio2 {
|
||||
+ /* AQR405 PHYs */
|
||||
+ mdio2_phy1: emdio2_phy@1 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 1 0x4>; /* Level high type */
|
||||
+ reg = <0x0>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio2_phy2: emdio2_phy@2 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 2 0x4>; /* Level high type */
|
||||
+ reg = <0x1>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio2_phy3: emdio2_phy@3 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 4 0x4>; /* Level high type */
|
||||
+ reg = <0x2>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio2_phy4: emdio2_phy@4 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 5 0x4>; /* Level high type */
|
||||
+ reg = <0x3>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Update DPMAC connections to external PHYs, under the assumption of
|
||||
+ * SerDes 0x2a_0x41. This is currently the only SerDes supported on the board.
|
||||
+ */
|
||||
+/* Leave Cortina nodes commented out until driver is integrated
|
||||
+ *&dpmac1 {
|
||||
+ * phy-handle = <&mdio1_phy1>;
|
||||
+ *};
|
||||
+ *&dpmac2 {
|
||||
+ * phy-handle = <&mdio1_phy2>;
|
||||
+ *};
|
||||
+ *&dpmac3 {
|
||||
+ * phy-handle = <&mdio1_phy3>;
|
||||
+ *};
|
||||
+ *&dpmac4 {
|
||||
+ * phy-handle = <&mdio1_phy4>;
|
||||
+ *};
|
||||
+ */
|
||||
+
|
||||
+&dpmac5 {
|
||||
+ phy-handle = <&mdio2_phy1>;
|
||||
+};
|
||||
+&dpmac6 {
|
||||
+ phy-handle = <&mdio2_phy2>;
|
||||
+};
|
||||
+&dpmac7 {
|
||||
+ phy-handle = <&mdio2_phy3>;
|
||||
+};
|
||||
+&dpmac8 {
|
||||
+ phy-handle = <&mdio2_phy4>;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
|
||||
@@ -118,6 +118,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&timer {
|
||||
+ fsl,erratum-a008585;
|
||||
+};
|
||||
+
|
||||
+&usb0 {
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+};
|
||||
+
|
||||
+&usb1 {
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+};
|
||||
+
|
||||
&pcie1 {
|
||||
reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
|
||||
0x10 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
|
||||
@@ -22,3 +22,123 @@
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
+
|
||||
+&ifc {
|
||||
+ boardctrl: board-control@3,0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "fsl,tetra-fpga", "fsl,fpga-qixis", "simple-bus";
|
||||
+ reg = <3 0 0x300>; /* TODO check address */
|
||||
+ ranges = <0 3 0 0x300>;
|
||||
+
|
||||
+ mdio_mux_emi1 {
|
||||
+ compatible = "mdio-mux-mmioreg", "mdio-mux";
|
||||
+ mdio-parent-bus = <&emdio1>;
|
||||
+ reg = <0x54 1>; /* BRDCFG4 */
|
||||
+ mux-mask = <0xe0>; /* EMI1_MDIO */
|
||||
+
|
||||
+ #address-cells=<1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ /* Child MDIO buses, one for each riser card:
|
||||
+ * reg = 0x0, 0x20, 0x40, 0x60, 0x80, 0xa0.
|
||||
+ * VSC8234 PHYs on the riser cards.
|
||||
+ */
|
||||
+
|
||||
+ mdio_mux3: mdio@60 {
|
||||
+ reg = <0x60>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ mdio0_phy12: mdio_phy0@1c {
|
||||
+ reg = <0x1c>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ mdio0_phy13: mdio_phy1@1d {
|
||||
+ reg = <0x1d>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ mdio0_phy14: mdio_phy2@1e {
|
||||
+ reg = <0x1e>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ mdio0_phy15: mdio_phy3@1f {
|
||||
+ reg = <0x1f>;
|
||||
+ phy-connection-type = "sgmii";
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio1 {
|
||||
+ pcs_phy1: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x9C0 0x40>;/* lane H */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio2 {
|
||||
+ pcs_phy2: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x980 0x40>;/* lane G */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio3 {
|
||||
+ pcs_phy3: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x940 0x40>;/* lane F */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio4 {
|
||||
+ pcs_phy4: ethernet-phy@0 {
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0x900 0x40>;/* lane E */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Update DPMAC connections to backplane PHYs, under SerDes 0x2a_0xXX.
|
||||
+ * &dpmac1 {
|
||||
+ * phy-handle = <&pcs_phy1>;
|
||||
+ * };
|
||||
+ *
|
||||
+ * &dpmac2 {
|
||||
+ * phy-handle = <&pcs_phy2>;
|
||||
+ * };
|
||||
+ *
|
||||
+ * &dpmac3 {
|
||||
+ * phy-handle = <&pcs_phy3>;
|
||||
+ * };
|
||||
+ *
|
||||
+ * &dpmac4 {
|
||||
+ * phy-handle = <&pcs_phy4>;
|
||||
+ * };
|
||||
+ */
|
||||
+
|
||||
+/* Update DPMAC connections to external PHYs, under SerDes 0x2a_0x49. */
|
||||
+&dpmac9 {
|
||||
+ phy-handle = <&mdio0_phy12>;
|
||||
+};
|
||||
+&dpmac10 {
|
||||
+ phy-handle = <&mdio0_phy13>;
|
||||
+};
|
||||
+&dpmac11 {
|
||||
+ phy-handle = <&mdio0_phy14>;
|
||||
+};
|
||||
+&dpmac12 {
|
||||
+ phy-handle = <&mdio0_phy15>;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
|
||||
@@ -22,3 +22,83 @@
|
||||
stdout-path = "serial1:115200n8";
|
||||
};
|
||||
};
|
||||
+
|
||||
+&emdio1 {
|
||||
+ status = "disabled";
|
||||
+ /* CS4340 PHYs */
|
||||
+ mdio1_phy1: emdio1_phy@1 {
|
||||
+ reg = <0x10>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio1_phy2: emdio1_phy@2 {
|
||||
+ reg = <0x11>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio1_phy3: emdio1_phy@3 {
|
||||
+ reg = <0x12>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio1_phy4: emdio1_phy@4 {
|
||||
+ reg = <0x13>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&emdio2 {
|
||||
+ /* AQR405 PHYs */
|
||||
+ mdio2_phy1: emdio2_phy@1 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 1 0x4>; /* Level high type */
|
||||
+ reg = <0x0>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio2_phy2: emdio2_phy@2 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 2 0x4>; /* Level high type */
|
||||
+ reg = <0x1>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio2_phy3: emdio2_phy@3 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 4 0x4>; /* Level high type */
|
||||
+ reg = <0x2>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+ mdio2_phy4: emdio2_phy@4 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <0 5 0x4>; /* Level high type */
|
||||
+ reg = <0x3>;
|
||||
+ phy-connection-type = "xfi";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Update DPMAC connections to external PHYs, under the assumption of
|
||||
+ * SerDes 0x2a_0x41. This is currently the only SerDes supported on the board.
|
||||
+ */
|
||||
+/* Leave Cortina PHYs commented out until proper driver is integrated
|
||||
+ *&dpmac1 {
|
||||
+ * phy-handle = <&mdio1_phy1>;
|
||||
+ *};
|
||||
+ *&dpmac2 {
|
||||
+ * phy-handle = <&mdio1_phy2>;
|
||||
+ *};
|
||||
+ *&dpmac3 {
|
||||
+ * phy-handle = <&mdio1_phy3>;
|
||||
+ *};
|
||||
+ *&dpmac4 {
|
||||
+ * phy-handle = <&mdio1_phy4>;
|
||||
+ *};
|
||||
+ */
|
||||
+
|
||||
+&dpmac5 {
|
||||
+ phy-handle = <&mdio2_phy1>;
|
||||
+};
|
||||
+&dpmac6 {
|
||||
+ phy-handle = <&mdio2_phy2>;
|
||||
+};
|
||||
+&dpmac7 {
|
||||
+ phy-handle = <&mdio2_phy3>;
|
||||
+};
|
||||
+&dpmac8 {
|
||||
+ phy-handle = <&mdio2_phy4>;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi
|
||||
@@ -129,6 +129,7 @@
|
||||
|
||||
&qspi {
|
||||
status = "okay";
|
||||
+ fsl,qspi-has-second-chip;
|
||||
flash0: s25fl256s1@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
|
||||
@@ -49,6 +49,7 @@
|
||||
reg = <0x75>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
+ i2c-mux-never-disable;
|
||||
i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -108,7 +109,15 @@
|
||||
};
|
||||
|
||||
&qspi {
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
+ flash0: s25fs512s@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ m25p,fast-read;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ };
|
||||
};
|
||||
|
||||
&sata0 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
@@ -114,13 +114,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
- timer {
|
||||
+ timer: timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
interrupts = <1 13 4>, /* Physical Secure PPI, active-low */
|
||||
<1 14 4>, /* Physical Non-Secure PPI, active-low */
|
||||
<1 11 4>, /* Virtual PPI, active-low */
|
||||
<1 10 4>; /* Hypervisor PPI, active-low */
|
||||
- fsl,erratum-a008585;
|
||||
};
|
||||
|
||||
pmu {
|
||||
@@ -560,15 +559,126 @@
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
+ /* TODO: WRIOP (CCSR?) */
|
||||
+ emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ * E-MDIO1: 0x1_6000
|
||||
+ */
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8B96000 0x0 0x1000>;
|
||||
+ device_type = "mdio"; /* TODO: is this necessary? */
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+
|
||||
+ /* Not necessary on the QDS, but needed on the RDB */
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ * E-MDIO2: 0x1_7000
|
||||
+ */
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8B97000 0x0 0x1000>;
|
||||
+ device_type = "mdio"; /* TODO: is this necessary? */
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio1: mdio@0x8c07000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c07000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio2: mdio@0x8c0b000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c0b000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio3: mdio@0x8c0f000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c0f000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio4: mdio@0x8c13000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c13000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio5: mdio@0x8c17000 {
|
||||
+ status = "disabled";
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c17000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio6: mdio@0x8c1b000 {
|
||||
+ status = "disabled";
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c1b000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio7: mdio@0x8c1f000 {
|
||||
+ status = "disabled";
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c1f000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio8: mdio@0x8c23000 {
|
||||
+ status = "disabled";
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c23000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
i2c0: i2c@2000000 {
|
||||
status = "disabled";
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls208xa-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2000000 0x0 0x10000>;
|
||||
interrupts = <0 34 0x4>; /* Level high type */
|
||||
clock-names = "i2c";
|
||||
- clocks = <&clockgen 4 3>;
|
||||
+ clocks = <&clockgen 4 1>;
|
||||
+ scl-gpios = <&gpio3 10 0>;
|
||||
};
|
||||
|
||||
i2c1: i2c@2010000 {
|
||||
@@ -579,7 +689,7 @@
|
||||
reg = <0x0 0x2010000 0x0 0x10000>;
|
||||
interrupts = <0 34 0x4>; /* Level high type */
|
||||
clock-names = "i2c";
|
||||
- clocks = <&clockgen 4 3>;
|
||||
+ clocks = <&clockgen 4 1>;
|
||||
};
|
||||
|
||||
i2c2: i2c@2020000 {
|
||||
@@ -590,7 +700,7 @@
|
||||
reg = <0x0 0x2020000 0x0 0x10000>;
|
||||
interrupts = <0 35 0x4>; /* Level high type */
|
||||
clock-names = "i2c";
|
||||
- clocks = <&clockgen 4 3>;
|
||||
+ clocks = <&clockgen 4 1>;
|
||||
};
|
||||
|
||||
i2c3: i2c@2030000 {
|
||||
@@ -601,7 +711,7 @@
|
||||
reg = <0x0 0x2030000 0x0 0x10000>;
|
||||
interrupts = <0 35 0x4>; /* Level high type */
|
||||
clock-names = "i2c";
|
||||
- clocks = <&clockgen 4 3>;
|
||||
+ clocks = <&clockgen 4 1>;
|
||||
};
|
||||
|
||||
ifc: ifc@2240000 {
|
||||
@@ -633,8 +743,8 @@
|
||||
pcie1: pcie@3400000 {
|
||||
compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 108 0x4>; /* Level high type */
|
||||
- interrupt-names = "intr";
|
||||
+ interrupts = <0 108 0x4>; /* aer interrupt */
|
||||
+ interrupt-names = "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
@@ -642,6 +752,7 @@
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 109 4>,
|
||||
@@ -654,8 +765,8 @@
|
||||
pcie2: pcie@3500000 {
|
||||
compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 113 0x4>; /* Level high type */
|
||||
- interrupt-names = "intr";
|
||||
+ interrupts = <0 113 0x4>; /* aer interrupt */
|
||||
+ interrupt-names = "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
@@ -663,6 +774,7 @@
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 114 4>,
|
||||
@@ -675,8 +787,8 @@
|
||||
pcie3: pcie@3600000 {
|
||||
compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 118 0x4>; /* Level high type */
|
||||
- interrupt-names = "intr";
|
||||
+ interrupts = <0 118 0x4>; /* aer interrupt */
|
||||
+ interrupt-names = "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
@@ -684,6 +796,7 @@
|
||||
num-viewport = <256>;
|
||||
bus-range = <0x0 0xff>;
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 119 4>,
|
||||
@@ -696,8 +809,8 @@
|
||||
pcie4: pcie@3700000 {
|
||||
compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <0 123 0x4>; /* Level high type */
|
||||
- interrupt-names = "intr";
|
||||
+ interrupts = <0 123 0x4>; /* aer interrupt */
|
||||
+ interrupt-names = "aer";
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
@@ -705,6 +818,7 @@
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
msi-parent = <&its>;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-map-mask = <0 0 0 7>;
|
||||
interrupt-map = <0000 0 0 1 &gic 0 0 0 124 4>,
|
||||
@@ -754,11 +868,22 @@
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
};
|
||||
|
||||
+ serdes1: serdes@1ea0000 {
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ compatible = "fsl,serdes-10g";
|
||||
+ };
|
||||
+
|
||||
ccn@4000000 {
|
||||
compatible = "arm,ccn-504";
|
||||
reg = <0x0 0x04000000 0x0 0x01000000>;
|
||||
interrupts = <0 12 4>;
|
||||
};
|
||||
+
|
||||
+ ftm0: ftm0@2800000 {
|
||||
+ compatible = "fsl,ftm-alarm";
|
||||
+ reg = <0x0 0x2800000 0x0 0x10000>;
|
||||
+ interrupts = <0 44 4>;
|
||||
+ };
|
||||
};
|
||||
|
||||
ddr1: memory-controller@1080000 {
|
@ -0,0 +1,156 @@
|
||||
From a9f1c1d3e410596d0a39fd92562cc48ef960b1b7 Mon Sep 17 00:00:00 2001
|
||||
From: Li Yang <leoyang.li@nxp.com>
|
||||
Date: Fri, 5 Oct 2018 18:33:49 -0500
|
||||
Subject: [PATCH] ARM: dts: accumulated change
|
||||
|
||||
Signed-off-by: Li Yang <leoyang.li@nxp.com>
|
||||
---
|
||||
arch/arm/boot/dts/ls1021a-qds.dts | 15 +++++++++++++++
|
||||
arch/arm/boot/dts/ls1021a-twr.dts | 15 +++++++++++++++
|
||||
arch/arm/boot/dts/ls1021a.dtsi | 29 ++++++++++++++++++++++++-----
|
||||
3 files changed, 54 insertions(+), 5 deletions(-)
|
||||
|
||||
--- a/arch/arm/boot/dts/ls1021a-qds.dts
|
||||
+++ b/arch/arm/boot/dts/ls1021a-qds.dts
|
||||
@@ -126,6 +126,21 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&qspi {
|
||||
+ num-cs = <2>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ qflash0: s25fl128s@0 {
|
||||
+ compatible = "spansion,m25p80";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&enet0 {
|
||||
tbi-handle = <&tbi0>;
|
||||
phy-handle = <&sgmii_phy1c>;
|
||||
--- a/arch/arm/boot/dts/ls1021a-twr.dts
|
||||
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
|
||||
@@ -144,6 +144,21 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&qspi {
|
||||
+ num-cs = <2>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ qflash0: n25q128a13@0 {
|
||||
+ compatible = "n25q128a13", "jedec,spi-nor";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&enet0 {
|
||||
tbi-handle = <&tbi0>;
|
||||
phy-handle = <&sgmii_phy2>;
|
||||
--- a/arch/arm/boot/dts/ls1021a.dtsi
|
||||
+++ b/arch/arm/boot/dts/ls1021a.dtsi
|
||||
@@ -167,12 +167,13 @@
|
||||
ifc: ifc@1530000 {
|
||||
compatible = "fsl,ifc", "simple-bus";
|
||||
reg = <0x0 0x1530000 0x0 0x10000>;
|
||||
+ big-endian;
|
||||
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
dcfg: dcfg@1ee0000 {
|
||||
compatible = "fsl,ls1021a-dcfg", "syscon";
|
||||
- reg = <0x0 0x1ee0000 0x0 0x10000>;
|
||||
+ reg = <0x0 0x1ee0000 0x0 0x1000>;
|
||||
big-endian;
|
||||
};
|
||||
|
||||
@@ -371,7 +372,7 @@
|
||||
};
|
||||
|
||||
i2c0: i2c@2180000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1021a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2180000 0x0 0x10000>;
|
||||
@@ -380,11 +381,12 @@
|
||||
clocks = <&clockgen 4 1>;
|
||||
dma-names = "tx", "rx";
|
||||
dmas = <&edma0 1 39>, <&edma0 1 38>;
|
||||
+ fsl-scl-gpio = <&gpio3 23 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c1: i2c@2190000 {
|
||||
- compatible = "fsl,vf610-i2c";
|
||||
+ compatible = "fsl,vf610-i2c", "fsl,ls1021a-vf610-i2c";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0 0x2190000 0x0 0x10000>;
|
||||
@@ -393,6 +395,7 @@
|
||||
clocks = <&clockgen 4 1>;
|
||||
dma-names = "tx", "rx";
|
||||
dmas = <&edma0 1 37>, <&edma0 1 36>;
|
||||
+ fsl-scl-gpio = <&gpio3 23 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -579,6 +582,16 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ ftm0: ftm0@29d0000 {
|
||||
+ compatible = "fsl,ftm-alarm";
|
||||
+ reg = <0x0 0x29d0000 0x0 0x10000>,
|
||||
+ <0x0 0x1ee2140 0x0 0x4>;
|
||||
+ reg-names = "ftm", "FlexTimer1";
|
||||
+ interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ big-endian;
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
pwm1: pwm@29e0000 {
|
||||
compatible = "fsl,vf610-ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
@@ -861,6 +874,8 @@
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
};
|
||||
|
||||
@@ -869,7 +884,9 @@
|
||||
reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */
|
||||
0x40 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
|
||||
+ interrupt-names = "pme", "aer";
|
||||
fsl,pcie-scfg = <&scfg 0>;
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
@@ -893,7 +910,9 @@
|
||||
reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */
|
||||
0x48 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
- interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
|
||||
+ interrupt-names = "pme", "aer";
|
||||
fsl,pcie-scfg = <&scfg 1>;
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
@ -0,0 +1,63 @@
|
||||
From 233d5936fb01dc7b47641e10354f7cc34124c592 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Tue, 6 Feb 2018 14:27:41 +0200
|
||||
Subject: [PATCH] arm64: dts: ls1046a: add smmu node
|
||||
|
||||
This allows for the SMMU device to be probed by the SMMU kernel driver.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 42 ++++++++++++++++++++++++++
|
||||
1 file changed, 42 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -229,6 +229,48 @@
|
||||
bus-width = <4>;
|
||||
};
|
||||
|
||||
+ smmu: iommu@9000000 {
|
||||
+ compatible = "arm,mmu-500";
|
||||
+ reg = <0 0x9000000 0 0x400000>;
|
||||
+ dma-coherent;
|
||||
+ #global-interrupts = <2>;
|
||||
+ #iommu-cells = <1>;
|
||||
+ interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ };
|
||||
+
|
||||
scfg: scfg@1570000 {
|
||||
compatible = "fsl,ls1046a-scfg", "syscon";
|
||||
reg = <0x0 0x1570000 0x0 0x10000>;
|
@ -0,0 +1,63 @@
|
||||
From 6b81f85d194bf15cf91ed3b4a8aec2d1ed2849a8 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Tue, 3 Apr 2018 17:15:44 +0300
|
||||
Subject: [PATCH] arm64: dts: ls1043a: add smmu node
|
||||
|
||||
This allows for the SMMU device to be probed by the SMMU kernel driver.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 42 ++++++++++++++++++++++++++
|
||||
1 file changed, 42 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -226,6 +226,48 @@
|
||||
clocks = <&sysclk>;
|
||||
};
|
||||
|
||||
+ smmu: iommu@9000000 {
|
||||
+ compatible = "arm,mmu-500";
|
||||
+ reg = <0 0x9000000 0 0x400000>;
|
||||
+ dma-coherent;
|
||||
+ #global-interrupts = <2>;
|
||||
+ #iommu-cells = <1>;
|
||||
+ interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ };
|
||||
+
|
||||
scfg: scfg@1570000 {
|
||||
compatible = "fsl,ls1043a-scfg", "syscon";
|
||||
reg = <0x0 0x1570000 0x0 0x10000>;
|
@ -0,0 +1,38 @@
|
||||
From 66307f9e693bd4822a683fac8cf1f63533822c18 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Thu, 3 May 2018 18:05:43 +0300
|
||||
Subject: [PATCH] arm64: dts: ls104xa: set mask to drop TBU ID from StreamID
|
||||
|
||||
The StreamID entering the SMMU is actually a concatenation of the
|
||||
SMMU TBU ID and the ICID configured in software.
|
||||
Since the TBU ID is internal to the SoC and since we want that the
|
||||
actual the ICID configured in software to enter the SMMU witout any
|
||||
additional set bits, mask out the TBU ID bits and leave only the
|
||||
relevant ICID bits to enter SMMU.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -230,6 +230,7 @@
|
||||
compatible = "arm,mmu-500";
|
||||
reg = <0 0x9000000 0 0x400000>;
|
||||
dma-coherent;
|
||||
+ stream-match-mask = <0x7f00>;
|
||||
#global-interrupts = <2>;
|
||||
#iommu-cells = <1>;
|
||||
interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -233,6 +233,7 @@
|
||||
compatible = "arm,mmu-500";
|
||||
reg = <0 0x9000000 0 0x400000>;
|
||||
dma-coherent;
|
||||
+ stream-match-mask = <0x7f00>;
|
||||
#global-interrupts = <2>;
|
||||
#iommu-cells = <1>;
|
||||
interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
@ -0,0 +1,35 @@
|
||||
From f656c67b9522f18e38394fe5b6e00302c0c8ceb8 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Thu, 17 May 2018 11:40:07 +0300
|
||||
Subject: [PATCH] arm64: dts: ls104x: add missing dma ranges property
|
||||
|
||||
These chips have a 48-bit address size so make sure that the dma-ranges
|
||||
reflects this. Otherwise the linux kernel's dma sub-system will set
|
||||
the default dma masks to full 64-bit, badly breaking dmas.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -218,6 +218,7 @@
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
+ dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
|
||||
|
||||
clockgen: clocking@1ee1000 {
|
||||
compatible = "fsl,ls1043a-clockgen";
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -190,6 +190,7 @@
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
+ dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
|
||||
|
||||
ddr: memory-controller@1080000 {
|
||||
compatible = "fsl,qoriq-memory-controller";
|
@ -0,0 +1,67 @@
|
||||
From 317d4e577ede33f226d24bd12a8edbaafee22e57 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Thu, 17 May 2018 11:56:27 +0300
|
||||
Subject: [PATCH] arm64: dts: ls104x: add iommu-map to pci controllers
|
||||
|
||||
The pci controllers are also behind the smmu so add the iommu-map
|
||||
property to reflect this. The bootloader needs to patch the stream id
|
||||
ranges to some sane values.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++
|
||||
2 files changed, 6 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -807,6 +807,7 @@
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
dma-coherent;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
@@ -833,6 +834,7 @@
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
dma-coherent;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
@@ -859,6 +861,7 @@
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
dma-coherent;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -715,6 +715,7 @@
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
dma-coherent;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <8>;
|
||||
bus-range = <0x0 0xff>;
|
||||
ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
@@ -751,6 +752,7 @@
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
dma-coherent;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <8>;
|
||||
bus-range = <0x0 0xff>;
|
||||
ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
@@ -787,6 +789,7 @@
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
dma-coherent;
|
||||
+ iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <8>;
|
||||
bus-range = <0x0 0xff>;
|
||||
ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
|
@ -0,0 +1,67 @@
|
||||
From b1e679aba75e5e137c70bc76169c34835ef0e474 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Tue, 24 Jul 2018 13:11:03 +0300
|
||||
Subject: [PATCH] arm64: dts: ls104x: make dma-coherent global to the SoC
|
||||
|
||||
These SoCs are really completely dma coherent in their entirety so add
|
||||
the dma-coherent property at the soc level in the device tree and drop
|
||||
the instances where it's specifically added to a few select devices.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 5 +----
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 +
|
||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -219,6 +219,7 @@
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
|
||||
+ dma-coherent;
|
||||
|
||||
clockgen: clocking@1ee1000 {
|
||||
compatible = "fsl,ls1043a-clockgen";
|
||||
@@ -771,7 +772,6 @@
|
||||
reg-names = "ahci", "sata-ecc";
|
||||
interrupts = <0 69 0x4>;
|
||||
clocks = <&clockgen 4 0>;
|
||||
- dma-coherent;
|
||||
};
|
||||
|
||||
msi1: msi-controller1@1571000 {
|
||||
@@ -806,7 +806,6 @@
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
- dma-coherent;
|
||||
iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
@@ -833,7 +832,6 @@
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
- dma-coherent;
|
||||
iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
@@ -860,7 +858,6 @@
|
||||
#address-cells = <3>;
|
||||
#size-cells = <2>;
|
||||
device_type = "pci";
|
||||
- dma-coherent;
|
||||
iommu-map = <0 &smmu 0 1>; /* update by bootloader */
|
||||
num-viewport = <6>;
|
||||
bus-range = <0x0 0xff>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -191,6 +191,7 @@
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
|
||||
+ dma-coherent;
|
||||
|
||||
ddr: memory-controller@1080000 {
|
||||
compatible = "fsl,qoriq-memory-controller";
|
@ -0,0 +1,193 @@
|
||||
From a6a86473350c7dcbae61afa1e926941d76ca17ed Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Thu, 20 Sep 2018 13:46:54 +0300
|
||||
Subject: [PATCH] arm64: dts: ls104x: use a pseudo-bus to constrain usb dma
|
||||
size
|
||||
|
||||
Wrap the usb controllers in an intermediate simple-bus and use it to
|
||||
constrain the dma address size of these usb controllers to the 40 bits
|
||||
that they generate toward the interconnect.
|
||||
This is required because the SoC uses 48 bits address sizes and this
|
||||
mismatch would lead to smmu context faults because the usb generates
|
||||
40-bit addresses while the smmu page tables are populated with 48-bit
|
||||
wide addresses.
|
||||
|
||||
Suggested-by: Robin Murphy <robin.murphy@arm.com>
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 82 ++++++++++++++------------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 76 +++++++++++++-----------
|
||||
2 files changed, 87 insertions(+), 71 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -726,43 +726,51 @@
|
||||
<&clockgen 4 0>;
|
||||
};
|
||||
|
||||
- usb0: usb3@2f00000 {
|
||||
- compatible = "snps,dwc3";
|
||||
- reg = <0x0 0x2f00000 0x0 0x10000>;
|
||||
- interrupts = <0 60 0x4>;
|
||||
- dr_mode = "host";
|
||||
- snps,quirk-frame-length-adjustment = <0x20>;
|
||||
- snps,dis_rxdet_inp3_quirk;
|
||||
- usb3-lpm-capable;
|
||||
- snps,dis-u1u2-when-u3-quirk;
|
||||
- snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
- configure-gfladj;
|
||||
- };
|
||||
+ usb_aux_bus: usb_aux_bus {
|
||||
+ #address-cells = <2>;
|
||||
+ #size-cells = <2>;
|
||||
+ compatible = "simple-bus";
|
||||
+ ranges;
|
||||
+ dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
|
||||
|
||||
- usb1: usb3@3000000 {
|
||||
- compatible = "snps,dwc3";
|
||||
- reg = <0x0 0x3000000 0x0 0x10000>;
|
||||
- interrupts = <0 61 0x4>;
|
||||
- dr_mode = "host";
|
||||
- snps,quirk-frame-length-adjustment = <0x20>;
|
||||
- snps,dis_rxdet_inp3_quirk;
|
||||
- usb3-lpm-capable;
|
||||
- snps,dis-u1u2-when-u3-quirk;
|
||||
- snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
- configure-gfladj;
|
||||
- };
|
||||
+ usb0: usb3@2f00000 {
|
||||
+ compatible = "snps,dwc3";
|
||||
+ reg = <0x0 0x2f00000 0x0 0x10000>;
|
||||
+ interrupts = <0 60 0x4>;
|
||||
+ dr_mode = "host";
|
||||
+ snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ configure-gfladj;
|
||||
+ };
|
||||
+
|
||||
+ usb1: usb3@3000000 {
|
||||
+ compatible = "snps,dwc3";
|
||||
+ reg = <0x0 0x3000000 0x0 0x10000>;
|
||||
+ interrupts = <0 61 0x4>;
|
||||
+ dr_mode = "host";
|
||||
+ snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ configure-gfladj;
|
||||
+ };
|
||||
|
||||
- usb2: usb3@3100000 {
|
||||
- compatible = "snps,dwc3";
|
||||
- reg = <0x0 0x3100000 0x0 0x10000>;
|
||||
- interrupts = <0 63 0x4>;
|
||||
- dr_mode = "host";
|
||||
- snps,quirk-frame-length-adjustment = <0x20>;
|
||||
- snps,dis_rxdet_inp3_quirk;
|
||||
- usb3-lpm-capable;
|
||||
- snps,dis-u1u2-when-u3-quirk;
|
||||
- snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
- configure-gfladj;
|
||||
+ usb2: usb3@3100000 {
|
||||
+ compatible = "snps,dwc3";
|
||||
+ reg = <0x0 0x3100000 0x0 0x10000>;
|
||||
+ interrupts = <0 63 0x4>;
|
||||
+ dr_mode = "host";
|
||||
+ snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ snps,dis_rxdet_inp3_quirk;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ configure-gfladj;
|
||||
+ };
|
||||
};
|
||||
|
||||
sata: sata@3200000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -624,40 +624,48 @@
|
||||
<&clockgen 4 1>;
|
||||
};
|
||||
|
||||
- usb0: usb@2f00000 {
|
||||
- compatible = "snps,dwc3";
|
||||
- reg = <0x0 0x2f00000 0x0 0x10000>;
|
||||
- interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
|
||||
- dr_mode = "host";
|
||||
- snps,quirk-frame-length-adjustment = <0x20>;
|
||||
- snps,dis_rxdet_inp3_quirk;
|
||||
- snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
- usb3-lpm-capable;
|
||||
- snps,dis-u1u2-when-u3-quirk;
|
||||
- };
|
||||
+ usb_aux_bus: usb_aux_bus {
|
||||
+ #address-cells = <2>;
|
||||
+ #size-cells = <2>;
|
||||
+ compatible = "simple-bus";
|
||||
+ ranges;
|
||||
+ dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
|
||||
|
||||
- usb1: usb@3000000 {
|
||||
- compatible = "snps,dwc3";
|
||||
- reg = <0x0 0x3000000 0x0 0x10000>;
|
||||
- interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
|
||||
- dr_mode = "host";
|
||||
- snps,quirk-frame-length-adjustment = <0x20>;
|
||||
- snps,dis_rxdet_inp3_quirk;
|
||||
- snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
- usb3-lpm-capable;
|
||||
- snps,dis-u1u2-when-u3-quirk;
|
||||
- };
|
||||
+ usb0: usb@2f00000 {
|
||||
+ compatible = "snps,dwc3";
|
||||
+ reg = <0x0 0x2f00000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ dr_mode = "host";
|
||||
+ snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ snps,dis_rxdet_inp3_quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
+ };
|
||||
+
|
||||
+ usb1: usb@3000000 {
|
||||
+ compatible = "snps,dwc3";
|
||||
+ reg = <0x0 0x3000000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ dr_mode = "host";
|
||||
+ snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ snps,dis_rxdet_inp3_quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
+ };
|
||||
|
||||
- usb2: usb@3100000 {
|
||||
- compatible = "snps,dwc3";
|
||||
- reg = <0x0 0x3100000 0x0 0x10000>;
|
||||
- interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
|
||||
- dr_mode = "host";
|
||||
- snps,quirk-frame-length-adjustment = <0x20>;
|
||||
- snps,dis_rxdet_inp3_quirk;
|
||||
- snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
- usb3-lpm-capable;
|
||||
- snps,dis-u1u2-when-u3-quirk;
|
||||
+ usb2: usb@3100000 {
|
||||
+ compatible = "snps,dwc3";
|
||||
+ reg = <0x0 0x3100000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ dr_mode = "host";
|
||||
+ snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ snps,dis_rxdet_inp3_quirk;
|
||||
+ snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
+ };
|
||||
};
|
||||
|
||||
sata: sata@3200000 {
|
@ -0,0 +1,60 @@
|
||||
From 9c0090519c422600596a9d7c1e6e33a5268dfce4 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Thu, 2 Aug 2018 17:54:28 +0300
|
||||
Subject: [PATCH] sdk: dts: ls104x: drop smmu from the sdk device trees
|
||||
|
||||
SMMU is not supported for the SDK version of the dpaa ethernet
|
||||
drivers so remove the SMMU node from the device tree.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts | 14 ++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts | 14 ++++++++++++++
|
||||
2 files changed, 28 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
|
||||
@@ -64,6 +64,20 @@
|
||||
&soc {
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+
|
||||
+pcie@3400000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3500000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3600000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+/delete-node/ iommu@9000000;
|
||||
};
|
||||
|
||||
&fman0 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
|
||||
@@ -64,6 +64,20 @@
|
||||
&soc {
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+
|
||||
+pcie@3400000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3500000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3600000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+/delete-node/ iommu@9000000;
|
||||
};
|
||||
|
||||
&fsldpaa {
|
@ -0,0 +1,41 @@
|
||||
From 5fb032ca86c078429ecdde3cbd9040702bb86954 Mon Sep 17 00:00:00 2001
|
||||
From: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com>
|
||||
Date: Fri, 20 Apr 2018 11:00:09 +0300
|
||||
Subject: [PATCH] arm64: dts: lx2160a: add MDIO device-tree nodes
|
||||
|
||||
Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 22 ++++++++++++++++++++++
|
||||
1 file changed, 22 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -478,6 +478,28 @@
|
||||
little-endian;
|
||||
};
|
||||
|
||||
+ /* TODO: WRIOP (CCSR?) */
|
||||
+ emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000, E-MDIO1: 0x1_6000 */
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8B96000 0x0 0x1000>;
|
||||
+ device_type = "mdio"; /* TODO: is this necessary? */
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+
|
||||
+ /* Not necessary on the QDS, but needed on the RDB */
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000, E-MDIO2: 0x1_7000 */
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8B97000 0x0 0x1000>;
|
||||
+ device_type = "mdio"; /* TODO: is this necessary? */
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
i2c0: i2c@2000000 {
|
||||
compatible = "fsl,vf610-i2c";
|
||||
#address-cells = <1>;
|
@ -0,0 +1,44 @@
|
||||
From 08726d24b8552e4a986631090e063d38cd2d82cf Mon Sep 17 00:00:00 2001
|
||||
From: Vladimir Oltean <vladimir.oltean@nxp.com>
|
||||
Date: Tue, 10 Jul 2018 13:56:56 +0300
|
||||
Subject: [PATCH] arm64: dts: lx2160a-rdb: Add RGMII PHY nodes for dpmac 17 and
|
||||
18
|
||||
|
||||
* Both are AR8035 chips
|
||||
|
||||
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 25 +++++++++++++++++++++++
|
||||
1 file changed, 25 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -159,3 +159,28 @@
|
||||
&usb1 {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&emdio1 {
|
||||
+ rgmii_phy1: ethernet-phy@1 {
|
||||
+ /* AR8035 PHY - "compatible" property not strictly needed */
|
||||
+ compatible = "ethernet-phy-id004d.d072";
|
||||
+ reg = <0x1>;
|
||||
+ /* Poll mode - no "interrupts" property defined */
|
||||
+ };
|
||||
+ rgmii_phy2: ethernet-phy@2 {
|
||||
+ /* AR8035 PHY - "compatible" property not strictly needed */
|
||||
+ compatible = "ethernet-phy-id004d.d072";
|
||||
+ reg = <0x2>;
|
||||
+ /* Poll mode - no "interrupts" property defined */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&dpmac17 {
|
||||
+ phy-handle = <&rgmii_phy1>;
|
||||
+ phy-connection-type = "rgmii-id";
|
||||
+};
|
||||
+
|
||||
+&dpmac18 {
|
||||
+ phy-handle = <&rgmii_phy2>;
|
||||
+ phy-connection-type = "rgmii-id";
|
||||
+};
|
@ -0,0 +1,30 @@
|
||||
From a99acc11751ea640c7687155e964612b232bc492 Mon Sep 17 00:00:00 2001
|
||||
From: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
Date: Mon, 29 Oct 2018 10:37:03 +0800
|
||||
Subject: [PATCH] arm64: dts: lx2160a: correct scl-gpios property
|
||||
|
||||
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -508,7 +508,7 @@
|
||||
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clock-names = "i2c";
|
||||
clocks = <&clockgen 4 15>;
|
||||
- scl-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>;
|
||||
+ scl-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -553,7 +553,7 @@
|
||||
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clock-names = "i2c";
|
||||
clocks = <&clockgen 4 15>;
|
||||
- scl-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>;
|
||||
+ scl-gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -0,0 +1,62 @@
|
||||
From df8cea437a14a4a412a32058ca49a2b30b48cc71 Mon Sep 17 00:00:00 2001
|
||||
From: Chuanhua Han <chuanhua.han@nxp.com>
|
||||
Date: Fri, 26 Oct 2018 12:08:55 +0800
|
||||
Subject: [PATCH] arm64: dts: lx2160a: add dspi controller DT nodes
|
||||
|
||||
Add the dspi support on lx2160
|
||||
|
||||
Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
|
||||
Signed-off-by: Bao Xiaowei <xiaowei.bao@nxp.com>
|
||||
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 39 ++++++++++++++++++++++++++
|
||||
1 file changed, 39 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -603,6 +603,45 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ dspi0: spi@2100000 {
|
||||
+ compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0 0x2100000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&clockgen 4 7>;
|
||||
+ clock-names = "dspi";
|
||||
+ spi-num-chipselects = <5>;
|
||||
+ bus-num = <0>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ dspi1: spi@2110000 {
|
||||
+ compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0 0x2110000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&clockgen 4 7>;
|
||||
+ clock-names = "dspi";
|
||||
+ spi-num-chipselects = <5>;
|
||||
+ bus-num = <1>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ dspi2: spi@2120000 {
|
||||
+ compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ reg = <0x0 0x2120000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&clockgen 4 7>;
|
||||
+ clock-names = "dspi";
|
||||
+ spi-num-chipselects = <5>;
|
||||
+ bus-num = <2>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
esdhc0: esdhc@2140000 {
|
||||
compatible = "fsl,esdhc";
|
||||
reg = <0x0 0x2140000 0x0 0x10000>;
|
@ -0,0 +1,59 @@
|
||||
From 3f304579d634bcbef18fec939e407c8e789637c8 Mon Sep 17 00:00:00 2001
|
||||
From: Chuanhua Han <chuanhua.han@nxp.com>
|
||||
Date: Fri, 26 Oct 2018 12:11:25 +0800
|
||||
Subject: [PATCH] arm64: dts: lx2160a: add DT node for all DSPI controller
|
||||
|
||||
Add device tree node for first flash (CS0) connected
|
||||
to all dspi controller.
|
||||
|
||||
Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
|
||||
Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 36 +++++++++++++++++++++++
|
||||
1 file changed, 36 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
@@ -35,6 +35,42 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&dspi0 {
|
||||
+ status = "okay";
|
||||
+
|
||||
+ dflash0: flash@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "jedec,spi-nor";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <1000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&dspi1 {
|
||||
+ status = "okay";
|
||||
+
|
||||
+ dflash1: flash@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "jedec,spi-nor";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <1000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&dspi2 {
|
||||
+ status = "okay";
|
||||
+
|
||||
+ dflash2: flash@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "jedec,spi-nor";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <1000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&esdhc0 {
|
||||
status = "okay";
|
||||
};
|
@ -0,0 +1,745 @@
|
||||
From d05cf625f27335320a2ad883b7f7c4cd638dca99 Mon Sep 17 00:00:00 2001
|
||||
From: Yuantian Tang <andy.tang@nxp.com>
|
||||
Date: Mon, 5 Nov 2018 17:25:32 +0800
|
||||
Subject: [PATCH] arm64: dts: nxp: ls208xa: add more thermal zone support
|
||||
|
||||
Ls208xa has several thermal sensors. Add all the sensor id to dts
|
||||
to enable them.
|
||||
|
||||
To make the dts cleaner, re-organize the nodes to split out the
|
||||
common part so that it can be shared with other SoCs.
|
||||
|
||||
Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 8 +-
|
||||
arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi | 8 +-
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 70 ++++---
|
||||
arch/arm64/boot/dts/freescale/fsl-tmu-map1.dtsi | 99 ++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-tmu-map2.dtsi | 99 ++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-tmu-map3.dtsi | 99 ++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-tmu.dtsi | 251 ++++++++++++++++++++++++
|
||||
7 files changed, 590 insertions(+), 44 deletions(-)
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu-map1.dtsi
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu-map2.dtsi
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu-map3.dtsi
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu.dtsi
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "fsl-ls208xa.dtsi"
|
||||
|
||||
&cpu {
|
||||
- cpu0: cpu@0 {
|
||||
+ cooling_map0: cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a57";
|
||||
reg = <0x0>;
|
||||
@@ -32,7 +32,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu2: cpu@100 {
|
||||
+ cooling_map1: cpu2: cpu@100 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a57";
|
||||
reg = <0x100>;
|
||||
@@ -52,7 +52,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu4: cpu@200 {
|
||||
+ cooling_map2: cpu4: cpu@200 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a57";
|
||||
reg = <0x200>;
|
||||
@@ -72,7 +72,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu6: cpu@300 {
|
||||
+ cooling_map3: cpu6: cpu@300 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a57";
|
||||
reg = <0x300>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "fsl-ls208xa.dtsi"
|
||||
|
||||
&cpu {
|
||||
- cpu0: cpu@0 {
|
||||
+ cooling_map0: cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a72";
|
||||
reg = <0x0>;
|
||||
@@ -32,7 +32,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu2: cpu@100 {
|
||||
+ cooling_map1: cpu2: cpu@100 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a72";
|
||||
reg = <0x100>;
|
||||
@@ -52,7 +52,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu4: cpu@200 {
|
||||
+ cooling_map2: cpu4: cpu@200 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a72";
|
||||
reg = <0x200>;
|
||||
@@ -72,7 +72,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu6: cpu@300 {
|
||||
+ cooling_map3: cpu6: cpu@300 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a72";
|
||||
reg = <0x300>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
@@ -77,42 +77,7 @@
|
||||
mask = <0x2>;
|
||||
};
|
||||
|
||||
- thermal-zones {
|
||||
- cpu_thermal: cpu-thermal {
|
||||
- polling-delay-passive = <1000>;
|
||||
- polling-delay = <5000>;
|
||||
-
|
||||
- thermal-sensors = <&tmu 4>;
|
||||
-
|
||||
- trips {
|
||||
- cpu_alert: cpu-alert {
|
||||
- temperature = <75000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "passive";
|
||||
- };
|
||||
- cpu_crit: cpu-crit {
|
||||
- temperature = <85000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "critical";
|
||||
- };
|
||||
- };
|
||||
-
|
||||
- cooling-maps {
|
||||
- map0 {
|
||||
- trip = <&cpu_alert>;
|
||||
- cooling-device =
|
||||
- <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
+ #include "fsl-tmu.dtsi"
|
||||
|
||||
timer: timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
@@ -907,3 +872,36 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
+
|
||||
+#include "fsl-tmu-map1.dtsi"
|
||||
+#include "fsl-tmu-map2.dtsi"
|
||||
+#include "fsl-tmu-map3.dtsi"
|
||||
+&thermal_zones {
|
||||
+ thermal-zone1 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2{
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3{
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4{
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone5{
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone6{
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone7 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-tmu-map1.dtsi
|
||||
@@ -0,0 +1,99 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree Include file for Thermal Monitor Unit.
|
||||
+ *
|
||||
+ * Copyright 2018 NXP
|
||||
+ *
|
||||
+ * Tang Yuantian <andy.tang@nxp.com>
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert0>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert1>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert2>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert3>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert4>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone5 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert5>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone6 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert6>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone7 {
|
||||
+ cooling-maps {
|
||||
+ map1 {
|
||||
+ trip = <&alert7>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map1 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-tmu-map2.dtsi
|
||||
@@ -0,0 +1,99 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree Include file for Thermal Monitor Unit.
|
||||
+ *
|
||||
+ * Copyright 2018 NXP
|
||||
+ *
|
||||
+ * Tang Yuantian <andy.tang@nxp.com>
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert0>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert1>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert2>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert3>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert4>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone5 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert5>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone6 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert6>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone7 {
|
||||
+ cooling-maps {
|
||||
+ map2 {
|
||||
+ trip = <&alert7>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map2 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-tmu-map3.dtsi
|
||||
@@ -0,0 +1,99 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree Include file for Thermal Monitor Unit.
|
||||
+ *
|
||||
+ * Copyright 2018 NXP
|
||||
+ *
|
||||
+ * Tang Yuantian <andy.tang@nxp.com>
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert0>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert1>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert2>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert3>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert4>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone5 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert5>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone6 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert6>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone7 {
|
||||
+ cooling-maps {
|
||||
+ map3 {
|
||||
+ trip = <&alert7>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map3 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-tmu.dtsi
|
||||
@@ -0,0 +1,251 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree Include file for Thermal Monitor Unit.
|
||||
+ *
|
||||
+ * Copyright 2018 NXP
|
||||
+ *
|
||||
+ * Tang Yuantian <andy.tang@nxp.com>
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+thermal_zones: thermal-zones {
|
||||
+ thermal_zone0: thermal-zone0 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 0>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert0: alert0 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit0: crit0 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert0>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 1>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert1: alert1 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit1: crit1 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert1>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 2>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert2: alert2 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit2: crit2 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert2>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 3>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert3: alert3 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit3: crit3 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert3>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 4>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert4: alert4 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit4: crit4 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert4>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone5 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 5>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert5: alert5 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit5: crit5 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert5>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone6 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 6>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert6: alert6 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit6: crit6 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert6>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone7 {
|
||||
+ polling-delay-passive = <1000>;
|
||||
+ polling-delay = <5000>;
|
||||
+ thermal-sensors = <&tmu 7>;
|
||||
+ status = "disabled";
|
||||
+
|
||||
+ trips {
|
||||
+ alert7: alert7 {
|
||||
+ temperature = <75000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "passive";
|
||||
+ };
|
||||
+
|
||||
+ crit7: crit7 {
|
||||
+ temperature = <85000>;
|
||||
+ hysteresis = <2000>;
|
||||
+ type = "critical";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ cooling-maps {
|
||||
+ map0 {
|
||||
+ trip = <&alert7>;
|
||||
+ cooling-device =
|
||||
+ <&cooling_map0 THERMAL_NO_LIMIT
|
||||
+ THERMAL_NO_LIMIT>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,314 @@
|
||||
From 314a3a062e5e8fe76b3c43a8731ffe4bd58bc1be Mon Sep 17 00:00:00 2001
|
||||
From: Yuantian Tang <andy.tang@nxp.com>
|
||||
Date: Mon, 5 Nov 2018 17:40:20 +0800
|
||||
Subject: [PATCH] arm64: dts: nxp: add more thermal zone support
|
||||
|
||||
To enable all the supported thermal sensors, add sensor id information
|
||||
to thermal zone node.
|
||||
Dts for ls1012a, ls1046a, ls1043a, ls1088a are updated.
|
||||
|
||||
Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 39 ++++------------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 61 ++++++++++++--------------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 57 ++++++++++--------------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 53 +++++++---------------
|
||||
4 files changed, 75 insertions(+), 135 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
@@ -28,7 +28,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- cpu0: cpu@0 {
|
||||
+ cooling_map0: cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a53";
|
||||
reg = <0x0>;
|
||||
@@ -100,36 +100,7 @@
|
||||
mask = <0x02>;
|
||||
};
|
||||
|
||||
- thermal-zones {
|
||||
- cpu_thermal: cpu-thermal {
|
||||
- polling-delay-passive = <1000>;
|
||||
- polling-delay = <5000>;
|
||||
- thermal-sensors = <&tmu 0>;
|
||||
-
|
||||
- trips {
|
||||
- cpu_alert: cpu-alert {
|
||||
- temperature = <85000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "passive";
|
||||
- };
|
||||
-
|
||||
- cpu_crit: cpu-crit {
|
||||
- temperature = <95000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "critical";
|
||||
- };
|
||||
- };
|
||||
-
|
||||
- cooling-maps {
|
||||
- map0 {
|
||||
- trip = <&cpu_alert>;
|
||||
- cooling-device =
|
||||
- <&cpu0 THERMAL_NO_LIMIT
|
||||
- THERMAL_NO_LIMIT>;
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
+ #include "fsl-tmu.dtsi"
|
||||
|
||||
soc {
|
||||
compatible = "simple-bus";
|
||||
@@ -572,3 +543,9 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -39,7 +39,7 @@
|
||||
*
|
||||
* Currently supported enable-method is psci v0.2
|
||||
*/
|
||||
- cpu0: cpu@0 {
|
||||
+ cooling_map0: cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a53";
|
||||
reg = <0x0>;
|
||||
@@ -148,38 +148,7 @@
|
||||
mask = <0x02>;
|
||||
};
|
||||
|
||||
- thermal-zones {
|
||||
- cpu_thermal: cpu-thermal {
|
||||
- polling-delay-passive = <1000>;
|
||||
- polling-delay = <5000>;
|
||||
-
|
||||
- thermal-sensors = <&tmu 3>;
|
||||
-
|
||||
- trips {
|
||||
- cpu_alert: cpu-alert {
|
||||
- temperature = <85000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "passive";
|
||||
- };
|
||||
- cpu_crit: cpu-crit {
|
||||
- temperature = <95000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "critical";
|
||||
- };
|
||||
- };
|
||||
-
|
||||
- cooling-maps {
|
||||
- map0 {
|
||||
- trip = <&cpu_alert>;
|
||||
- cooling-device =
|
||||
- <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
+ #include "fsl-tmu.dtsi"
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
@@ -915,3 +884,29 @@
|
||||
|
||||
#include "qoriq-qman-portals.dtsi"
|
||||
#include "qoriq-bman-portals.dtsi"
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone5 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -34,7 +34,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- cpu0: cpu@0 {
|
||||
+ cooling_map0: cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a72";
|
||||
reg = <0x0>;
|
||||
@@ -116,38 +116,7 @@
|
||||
mask = <0x02>;
|
||||
};
|
||||
|
||||
- thermal-zones {
|
||||
- cpu_thermal: cpu-thermal {
|
||||
- polling-delay-passive = <1000>;
|
||||
- polling-delay = <5000>;
|
||||
- thermal-sensors = <&tmu 3>;
|
||||
-
|
||||
- trips {
|
||||
- cpu_alert: cpu-alert {
|
||||
- temperature = <85000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "passive";
|
||||
- };
|
||||
-
|
||||
- cpu_crit: cpu-crit {
|
||||
- temperature = <95000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "critical";
|
||||
- };
|
||||
- };
|
||||
-
|
||||
- cooling-maps {
|
||||
- map0 {
|
||||
- trip = <&cpu_alert>;
|
||||
- cooling-device =
|
||||
- <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
+ #include "fsl-tmu.dtsi"
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
@@ -882,3 +851,25 @@
|
||||
|
||||
#include "qoriq-qman-portals.dtsi"
|
||||
#include "qoriq-bman-portals.dtsi"
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone2 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone3 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone4 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
@@ -25,7 +25,7 @@
|
||||
#size-cells = <0>;
|
||||
|
||||
/* We have 2 clusters having 4 Cortex-A53 cores each */
|
||||
- cpu0: cpu@0 {
|
||||
+ cooling_map0: cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a53";
|
||||
reg = <0x0>;
|
||||
@@ -61,7 +61,7 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
- cpu4: cpu@100 {
|
||||
+ cooling_map1: cpu4: cpu@100 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-a53";
|
||||
reg = <0x100>;
|
||||
@@ -128,42 +128,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
- thermal-zones {
|
||||
- cpu_thermal: cpu-thermal {
|
||||
- polling-delay-passive = <1000>;
|
||||
- polling-delay = <5000>;
|
||||
- thermal-sensors = <&tmu 0>;
|
||||
-
|
||||
- trips {
|
||||
- cpu_alert: cpu-alert {
|
||||
- temperature = <85000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "passive";
|
||||
- };
|
||||
-
|
||||
- cpu_crit: cpu-crit {
|
||||
- temperature = <95000>;
|
||||
- hysteresis = <2000>;
|
||||
- type = "critical";
|
||||
- };
|
||||
- };
|
||||
-
|
||||
- cooling-maps {
|
||||
- map0 {
|
||||
- trip = <&cpu_alert>;
|
||||
- cooling-device =
|
||||
- <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
||||
- <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
- };
|
||||
+ #include "fsl-tmu.dtsi"
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
@@ -879,3 +844,15 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
+
|
||||
+#include "fsl-tmu-map1.dtsi"
|
||||
+
|
||||
+&thermal_zones {
|
||||
+ thermal-zone0 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ thermal-zone1 {
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,40 @@
|
||||
From 7ff4d2213c5b21008bebf43ae5a60b4275f91c55 Mon Sep 17 00:00:00 2001
|
||||
From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
|
||||
Date: Mon, 29 Oct 2018 18:41:07 +0200
|
||||
Subject: [PATCH] arm64: dts: lx2160a-rdb: Add Inphi PHY node
|
||||
|
||||
DPMAC5 and DPMAC6 are connected to 25G Inphi PHY
|
||||
|
||||
Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com>
|
||||
Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
|
||||
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -175,6 +175,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&emdio2 {
|
||||
+ inphi_phy: emdio2_phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x0>;
|
||||
+ interrupts = <0 9 IRQ_TYPE_EDGE_FALLING>,
|
||||
+ <0 10 IRQ_TYPE_EDGE_FALLING>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&dpmac5 {
|
||||
+ phy-handle = <&inphi_phy>;
|
||||
+};
|
||||
+
|
||||
+&dpmac6 {
|
||||
+ phy-handle = <&inphi_phy>;
|
||||
+};
|
||||
+
|
||||
&dpmac17 {
|
||||
phy-handle = <&rgmii_phy1>;
|
||||
phy-connection-type = "rgmii-id";
|
@ -0,0 +1,51 @@
|
||||
From 917e2edbf55e5bc6c98802a610d8b7c05c4e9c78 Mon Sep 17 00:00:00 2001
|
||||
From: Ioana Radulescu <ruxandra.radulescu@nxp.com>
|
||||
Date: Mon, 29 Oct 2018 18:54:05 +0200
|
||||
Subject: [PATCH] arm64: dts: lx2160a-rdb: Add Aquantia PHY nodes
|
||||
|
||||
DPMAC3 and DPMAC4 are connected to 10G Aquantia PHYs
|
||||
|
||||
Signed-off-by: Catalin Neacsu <valentin-catalin.neacsu@nxp.com>
|
||||
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 22 ++++++++++++++++++++++
|
||||
1 file changed, 22 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -173,6 +173,18 @@
|
||||
reg = <0x2>;
|
||||
/* Poll mode - no "interrupts" property defined */
|
||||
};
|
||||
+ aquantia_phy1: ethernet-phy@4 {
|
||||
+ /* AQR107 PHY - "compatible" property not strictly needed */
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x4>;
|
||||
+ /* Poll mode - no "interrupts" property defined */
|
||||
+ };
|
||||
+ aquantia_phy2: ethernet-phy@5 {
|
||||
+ /* AQR107 PHY - "compatible" property not strictly needed */
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x5>;
|
||||
+ /* Poll mode - no "interrupts" property defined */
|
||||
+ };
|
||||
};
|
||||
|
||||
&emdio2 {
|
||||
@@ -184,6 +196,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&dpmac3 {
|
||||
+ phy-handle = <&aquantia_phy1>;
|
||||
+ phy-connection-type = "xgmii";
|
||||
+};
|
||||
+
|
||||
+&dpmac4 {
|
||||
+ phy-handle = <&aquantia_phy2>;
|
||||
+ phy-connection-type = "xgmii";
|
||||
+};
|
||||
+
|
||||
&dpmac5 {
|
||||
phy-handle = <&inphi_phy>;
|
||||
};
|
@ -0,0 +1,107 @@
|
||||
From 39c8c9b6e4db9694935fe4a856ea66ff36ace7d0 Mon Sep 17 00:00:00 2001
|
||||
From: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Tue, 30 Oct 2018 09:42:39 +0200
|
||||
Subject: [PATCH] arm64: dts: lx2160: Add all pcs mdio definitions according to
|
||||
RM
|
||||
|
||||
This change is required in preparation for adding 40GBase-KR support in DTS for LX2160
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 85 ++++++++++++++++++++++++++
|
||||
1 file changed, 85 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -500,6 +500,91 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
+ pcs_mdio1: mdio@0x8c07000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c07000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio2: mdio@0x8c0b000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c0b000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio3: mdio@0x8c0f000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c0f000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio4: mdio@0x8c13000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c13000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio5: mdio@0x8c17000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c17000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio6: mdio@0x8c1b000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c1b000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio7: mdio@0x8c1f000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c1f000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ pcs_mdio8: mdio@0x8c23000 {
|
||||
+ compatible = "fsl,fman-memac-mdio";
|
||||
+ reg = <0x0 0x8c23000 0x0 0x1000>;
|
||||
+ device_type = "mdio";
|
||||
+ little-endian;
|
||||
+
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ serdes1: serdes@1ea0000 {
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ compatible = "fsl,serdes-28g";
|
||||
+ };
|
||||
+
|
||||
i2c0: i2c@2000000 {
|
||||
compatible = "fsl,vf610-i2c";
|
||||
#address-cells = <1>;
|
@ -0,0 +1,57 @@
|
||||
From c1619d9de2da093a585426e9cef353ca1789236d Mon Sep 17 00:00:00 2001
|
||||
From: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Mon, 5 Nov 2018 17:02:19 +0200
|
||||
Subject: [PATCH] arm64: dts: lx2160: PCS PHY definitions for 10GBase-KR and
|
||||
40GBase-KR backplane modes
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 40 +++++++++++++++++++++++
|
||||
1 file changed, 40 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
@@ -162,3 +162,43 @@
|
||||
&usb1 {
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&pcs_mdio1 {
|
||||
+ pcs_phy1: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ backplane-mode = "40gbase-kr";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0xF00 0xE00 0xD00 0xC00>; /* lanes H, G, F, E */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio2 {
|
||||
+ pcs_phy2: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ backplane-mode = "40gbase-kr";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0xB00 0xA00 0x900 0x800>; /* lanes D, C, B, A */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio3 {
|
||||
+ pcs_phy3: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0xF00 0x100>; /* lane H */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pcs_mdio4 {
|
||||
+ pcs_phy4: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ backplane-mode = "10gbase-kr";
|
||||
+ reg = <0x0>;
|
||||
+ fsl,lane-handle = <&serdes1>;
|
||||
+ fsl,lane-reg = <0xE00 0x100>; /* lane G */
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,39 @@
|
||||
From 01af235657e4d8f5f87b5e06bcf42baf53e1ff8d Mon Sep 17 00:00:00 2001
|
||||
From: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Mon, 5 Nov 2018 17:03:04 +0200
|
||||
Subject: [PATCH] arm64: dts: lx2160: DPMAC connections to backplane PHYs
|
||||
example
|
||||
|
||||
This is an example of device tree nodes required to enable 10GBase-KR and 40GBase-KR on LX2160
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 20 ++++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
@@ -202,3 +202,23 @@
|
||||
fsl,lane-reg = <0xE00 0x100>; /* lane G */
|
||||
};
|
||||
};
|
||||
+
|
||||
+/* Update DPMAC connections to 40G backplane PHYs
|
||||
+ * &dpmac1 {
|
||||
+ * phy-handle = <&pcs_phy1>;
|
||||
+ * };
|
||||
+ *
|
||||
+ * &dpmac2 {
|
||||
+ * phy-handle = <&pcs_phy2>;
|
||||
+ * };
|
||||
+ */
|
||||
+
|
||||
+/* Update DPMAC connections to 10G backplane PHYs
|
||||
+ * &dpmac3 {
|
||||
+ * phy-handle = <&pcs_phy3>;
|
||||
+ * };
|
||||
+ *
|
||||
+ * &dpmac4 {
|
||||
+ * phy-handle = <&pcs_phy4>;
|
||||
+ * };
|
||||
+ */
|
@ -0,0 +1,53 @@
|
||||
From d783144d6738af1d2ef3a91ef3cb2ef8529bb041 Mon Sep 17 00:00:00 2001
|
||||
From: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
Date: Mon, 5 Nov 2018 17:04:05 +0200
|
||||
Subject: [PATCH] arm64: dts: Added endianness information to dts serdes node
|
||||
|
||||
This change is required to specify that serdes HW peripheral is little-endian.
|
||||
|
||||
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 3 ++-
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 3 ++-
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 3 ++-
|
||||
3 files changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
@@ -184,8 +184,9 @@
|
||||
};
|
||||
|
||||
serdes1: serdes@1ea0000 {
|
||||
- reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
compatible = "fsl,serdes-10g";
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ little-endian;
|
||||
};
|
||||
|
||||
tmu: tmu@1f80000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
@@ -834,8 +834,9 @@
|
||||
};
|
||||
|
||||
serdes1: serdes@1ea0000 {
|
||||
- reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
compatible = "fsl,serdes-10g";
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ little-endian;
|
||||
};
|
||||
|
||||
ccn@4000000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -581,8 +581,9 @@
|
||||
};
|
||||
|
||||
serdes1: serdes@1ea0000 {
|
||||
- reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
compatible = "fsl,serdes-28g";
|
||||
+ reg = <0x0 0x1ea0000 0 0x00002000>;
|
||||
+ little-endian;
|
||||
};
|
||||
|
||||
i2c0: i2c@2000000 {
|
@ -0,0 +1,183 @@
|
||||
From 86e03654997db1b70e71f717ab3e74b1df2f402c Mon Sep 17 00:00:00 2001
|
||||
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
||||
Date: Thu, 13 Jul 2017 18:28:27 +0800
|
||||
Subject: [PATCH] arm64: dts: freescale: lx2160a: add pcie DT nodes
|
||||
|
||||
The LX2160A integrated 6 PCIe Gen4 controllers.
|
||||
|
||||
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 162 +++++++++++++++++++++++++
|
||||
1 file changed, 162 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -903,6 +903,168 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie@3400000 {
|
||||
+ compatible = "fsl,lx2160a-pcie";
|
||||
+ reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
|
||||
+ 0x80 0x00000000 0x0 0x00001000>; /* configuration space */
|
||||
+ reg-names = "csr_axi_slave", "config_axi_slave";
|
||||
+ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
|
||||
+ <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupt-names = "aer", "pme", "intr";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ apio-wins = <8>;
|
||||
+ ppio-wins = <8>;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pcie@3500000 {
|
||||
+ compatible = "fsl,lx2160a-pcie";
|
||||
+ reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
|
||||
+ 0x88 0x00000000 0x0 0x00001000>; /* configuration space */
|
||||
+ reg-names = "csr_axi_slave", "config_axi_slave";
|
||||
+ interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
|
||||
+ <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupt-names = "aer", "pme", "intr";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ apio-wins = <8>;
|
||||
+ ppio-wins = <8>;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic 0 0 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic 0 0 GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic 0 0 GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pcie@3600000 {
|
||||
+ compatible = "fsl,lx2160a-pcie";
|
||||
+ reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
|
||||
+ 0x90 0x00000000 0x0 0x00001000>; /* configuration space */
|
||||
+ reg-names = "csr_axi_slave", "config_axi_slave";
|
||||
+ interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
|
||||
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupt-names = "aer", "pme", "intr";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ apio-wins = <8>;
|
||||
+ ppio-wins = <8>;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic 0 0 GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic 0 0 GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic 0 0 GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pcie@3700000 {
|
||||
+ compatible = "fsl,lx2160a-pcie";
|
||||
+ reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */
|
||||
+ 0x98 0x00000000 0x0 0x00001000>; /* configuration space */
|
||||
+ reg-names = "csr_axi_slave", "config_axi_slave";
|
||||
+ interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
|
||||
+ <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupt-names = "aer", "pme", "intr";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ apio-wins = <8>;
|
||||
+ ppio-wins = <8>;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic 0 0 GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic 0 0 GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic 0 0 GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pcie@3800000 {
|
||||
+ compatible = "fsl,lx2160a-pcie";
|
||||
+ reg = <0x00 0x03800000 0x0 0x00100000 /* controller registers */
|
||||
+ 0xa0 0x00000000 0x0 0x00001000>; /* configuration space */
|
||||
+ reg-names = "csr_axi_slave", "config_axi_slave";
|
||||
+ interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
|
||||
+ <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupt-names = "aer", "pme", "intr";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ apio-wins = <8>;
|
||||
+ ppio-wins = <8>;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic 0 0 GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic 0 0 GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic 0 0 GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pcie@3900000 {
|
||||
+ compatible = "fsl,lx2160a-pcie";
|
||||
+ reg = <0x00 0x03900000 0x0 0x00100000 /* controller registers */
|
||||
+ 0xa8 0x00000000 0x0 0x00001000>; /* configuration space */
|
||||
+ reg-names = "csr_axi_slave", "config_axi_slave";
|
||||
+ interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
|
||||
+ <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
|
||||
+ interrupt-names = "aer", "pme", "intr";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ apio-wins = <8>;
|
||||
+ ppio-wins = <8>;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic 0 0 GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic 0 0 GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic 0 0 GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
smmu: iommu@5000000 {
|
||||
compatible = "arm,mmu-500";
|
||||
reg = <0 0x5000000 0 0x800000>;
|
@ -0,0 +1,29 @@
|
||||
From fa7b2d215b494f912b591f28c1205593bccfc2cc Mon Sep 17 00:00:00 2001
|
||||
From: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
|
||||
Date: Sun, 16 Dec 2018 23:05:12 +0200
|
||||
Subject: [PATCH] arm64: dts: freescale: lx2160a: Inphi in112525_s03 mdio node
|
||||
|
||||
Add Inphi retimer phyid in the mdio node, solving the probe issue
|
||||
for this non-standard clause-45 device.
|
||||
|
||||
Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 6 ++----
|
||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -188,11 +188,9 @@
|
||||
};
|
||||
|
||||
&emdio2 {
|
||||
- inphi_phy: emdio2_phy@0 {
|
||||
- compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ inphi_phy: ethernet-phy@0 {
|
||||
+ compatible = "ethernet-phy-id0210.7440";
|
||||
reg = <0x0>;
|
||||
- interrupts = <0 9 IRQ_TYPE_EDGE_FALLING>,
|
||||
- <0 10 IRQ_TYPE_EDGE_FALLING>;
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,24 @@
|
||||
From 9ab6cc70cd84ca4a140b30b8a0a2371a3585a72a Mon Sep 17 00:00:00 2001
|
||||
From: Pankaj Gupta <pankaj.gupta@nxp.com>
|
||||
Date: Tue, 27 Nov 2018 15:33:08 +0530
|
||||
Subject: [PATCH] arm64: dts: lx2160a: add optee-tz node
|
||||
|
||||
Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -1287,4 +1287,11 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
+
|
||||
+ firmware {
|
||||
+ optee {
|
||||
+ compatible = "linaro,optee-tz";
|
||||
+ method = "smc";
|
||||
+ };
|
||||
+ };
|
||||
};
|
@ -0,0 +1,86 @@
|
||||
From 4a7dcac3fd18b182f882b65161267612713f72dc Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Tue, 11 Dec 2018 13:32:31 +0200
|
||||
Subject: [PATCH] arm64: dts: ls104x: constrain sata dma address size
|
||||
|
||||
Limit the dma mask size for sata to 40 bits to match the actual address
|
||||
size generated towards the interconnect. Re-use the already existing
|
||||
auxiliary simple bus meant for usb but drop the usb reference from the
|
||||
node name.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 18 +++++++++---------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 18 +++++++++---------
|
||||
2 files changed, 18 insertions(+), 18 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -695,7 +695,7 @@
|
||||
<&clockgen 4 0>;
|
||||
};
|
||||
|
||||
- usb_aux_bus: usb_aux_bus {
|
||||
+ aux_bus: aux_bus {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
compatible = "simple-bus";
|
||||
@@ -740,15 +740,15 @@
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
configure-gfladj;
|
||||
};
|
||||
- };
|
||||
|
||||
- sata: sata@3200000 {
|
||||
- compatible = "fsl,ls1043a-ahci";
|
||||
- reg = <0x0 0x3200000 0x0 0x10000>,
|
||||
- <0x0 0x20140520 0x0 0x4>;
|
||||
- reg-names = "ahci", "sata-ecc";
|
||||
- interrupts = <0 69 0x4>;
|
||||
- clocks = <&clockgen 4 0>;
|
||||
+ sata: sata@3200000 {
|
||||
+ compatible = "fsl,ls1043a-ahci";
|
||||
+ reg = <0x0 0x3200000 0x0 0x10000>,
|
||||
+ <0x0 0x20140520 0x0 0x4>;
|
||||
+ reg-names = "ahci", "sata-ecc";
|
||||
+ interrupts = <0 69 0x4>;
|
||||
+ clocks = <&clockgen 4 0>;
|
||||
+ };
|
||||
};
|
||||
|
||||
msi1: msi-controller1@1571000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -593,7 +593,7 @@
|
||||
<&clockgen 4 1>;
|
||||
};
|
||||
|
||||
- usb_aux_bus: usb_aux_bus {
|
||||
+ aux_bus: aux_bus {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
compatible = "simple-bus";
|
||||
@@ -635,15 +635,15 @@
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
};
|
||||
- };
|
||||
|
||||
- sata: sata@3200000 {
|
||||
- compatible = "fsl,ls1046a-ahci";
|
||||
- reg = <0x0 0x3200000 0x0 0x10000>,
|
||||
- <0x0 0x20140520 0x0 0x4>;
|
||||
- reg-names = "ahci", "sata-ecc";
|
||||
- interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
|
||||
- clocks = <&clockgen 4 1>;
|
||||
+ sata: sata@3200000 {
|
||||
+ compatible = "fsl,ls1046a-ahci";
|
||||
+ reg = <0x0 0x3200000 0x0 0x10000>,
|
||||
+ <0x0 0x20140520 0x0 0x4>;
|
||||
+ reg-names = "ahci", "sata-ecc";
|
||||
+ interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&clockgen 4 1>;
|
||||
+ };
|
||||
};
|
||||
|
||||
msi1: msi-controller@1580000 {
|
@ -0,0 +1,37 @@
|
||||
From 4551b9c547f7bf7b40d83f8762c77cee0041f5eb Mon Sep 17 00:00:00 2001
|
||||
From: Peng Ma <peng.ma@nxp.com>
|
||||
Date: Mon, 14 Jan 2019 08:26:40 +0000
|
||||
Subject: [PATCH] arm64: dts: lx2160a-qds: add sata node support
|
||||
|
||||
Add sata node support and Enable sata support
|
||||
|
||||
Signed-off-by: Peng Ma <peng.ma@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 ++++++++++++++++
|
||||
1 file changed, 16 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
@@ -203,6 +203,22 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&sata0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&sata1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&sata2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&sata3 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
/* Update DPMAC connections to 40G backplane PHYs
|
||||
* &dpmac1 {
|
||||
* phy-handle = <&pcs_phy1>;
|
@ -0,0 +1,242 @@
|
||||
From 203a34f815c7e9320140bb2259ae5884575f0658 Mon Sep 17 00:00:00 2001
|
||||
From: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Date: Tue, 20 Nov 2018 21:52:03 +0530
|
||||
Subject: [PATCH] arm64: dts: ls1012a: use phy-handle to handle phy params
|
||||
|
||||
Replace properties "fsl,gemac-phy-id" and "fsl,pfe-phy-if-flags"
|
||||
and use phy-handle instead.
|
||||
Create mdio node with phy-handles defining PHYs available on the
|
||||
mdio bus.
|
||||
|
||||
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
---
|
||||
.../boot/dts/freescale/fsl-ls1012a-2g5rdb.dts | 25 +++++++++++++---------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 23 +++++++++++---------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts | 23 +++++++++++---------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 25 +++++++++++++---------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 22 ++++++++++---------
|
||||
5 files changed, 68 insertions(+), 50 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
@@ -58,14 +58,9 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii-2500";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
-
|
||||
- mdio@0 {
|
||||
- reg = <0x1>; /* enabled/disabled */
|
||||
- };
|
||||
+ phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
ethernet@1 {
|
||||
@@ -74,13 +69,23 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = < 0x0>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = < 0x2>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii-2500";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
+ phy-handle = <&sgmii_phy2>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ sgmii_phy1: ethernet-phy@1 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x1>;
|
||||
+ };
|
||||
|
||||
- mdio@0 {
|
||||
- reg = <0x0>; /* enabled/disabled */
|
||||
+ sgmii_phy2: ethernet-phy@2 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
@@ -90,14 +90,9 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
-
|
||||
- mdio@0 {
|
||||
- reg = <0x1>; /* enabled/disabled */
|
||||
- };
|
||||
+ phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
ethernet@1 {
|
||||
@@ -106,13 +101,21 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
+ phy-handle = <&sgmii_phy2>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ sgmii_phy1: ethernet-phy@2 {
|
||||
+ reg = <0x2>;
|
||||
+ };
|
||||
|
||||
- mdio@0 {
|
||||
- reg = <0x0>; /* enabled/disabled */
|
||||
+ sgmii_phy2: ethernet-phy@1 {
|
||||
+ reg = <0x1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
@@ -111,14 +111,9 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
-
|
||||
- mdio@0 {
|
||||
- reg = <0x1>; /* enabled/disabled */
|
||||
- };
|
||||
+ phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
ethernet@1 {
|
||||
@@ -127,13 +122,21 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
+ phy-handle = <&sgmii_phy2>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ sgmii_phy1: ethernet-phy@2 {
|
||||
+ reg = <0x2>;
|
||||
+ };
|
||||
|
||||
- mdio@0 {
|
||||
- reg = <0x0>; /* enabled/disabled */
|
||||
+ sgmii_phy2: ethernet-phy@1 {
|
||||
+ reg = <0x1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
@@ -148,14 +148,9 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x1>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x2>;
|
||||
phy-mode = "sgmii-2500";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
-
|
||||
- mdio@0 {
|
||||
- reg = <0x1>; /* enabled/disabled */
|
||||
- };
|
||||
+ phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
ethernet@1 {
|
||||
@@ -164,13 +159,23 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x3>;
|
||||
phy-mode = "sgmii-2500";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
+ phy-handle = <&sgmii_phy2>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ sgmii_phy1: ethernet-phy@1 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x1>;
|
||||
+ };
|
||||
|
||||
- mdio@0 {
|
||||
- reg = <0x0>; /* enabled/disabled */
|
||||
+ sgmii_phy2: ethernet-phy@2 {
|
||||
+ compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ reg = <0x2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
@@ -59,14 +59,9 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = <0x2>; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
-
|
||||
- mdio@0 {
|
||||
- reg = <0x1>; /* enabled/disabled */
|
||||
- };
|
||||
+ phy-handle = <&sgmii_phy>;
|
||||
};
|
||||
|
||||
ethernet@1 {
|
||||
@@ -75,13 +70,20 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
fsl,gemac-bus-id = < 0x1 >; /* BUS_ID */
|
||||
- fsl,gemac-phy-id = < 0x1 >; /* PHY_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "rgmii-txid";
|
||||
- fsl,pfe-phy-if-flags = <0x0>;
|
||||
+ phy-handle = <&rgmii_phy>;
|
||||
+ };
|
||||
+ mdio@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ sgmii_phy: ethernet-phy@2 {
|
||||
+ reg = <0x2>;
|
||||
+ };
|
||||
|
||||
- mdio@0 {
|
||||
- reg = <0x0>; /* enabled/disabled */
|
||||
+ rgmii_phy: ethernet-phy@1 {
|
||||
+ reg = <0x1>;
|
||||
};
|
||||
};
|
||||
};
|
@ -0,0 +1,98 @@
|
||||
From 4ae484235c6b0994e223e802b7fc465ce3b8c4ba Mon Sep 17 00:00:00 2001
|
||||
From: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Date: Thu, 3 Jan 2019 11:07:24 +0530
|
||||
Subject: [PATCH] arm64: dts: ls1012a: remove unused gemac-bus-id
|
||||
|
||||
gemac-bus-id is unused property and is removed.
|
||||
|
||||
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts | 2 --
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 2 --
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts | 1 -
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 2 --
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 2 --
|
||||
5 files changed, 9 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
@@ -57,7 +57,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii-2500";
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
@@ -68,7 +67,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = < 0x0>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii-2500";
|
||||
phy-handle = <&sgmii_phy2>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
@@ -89,7 +89,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
@@ -100,7 +99,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&sgmii_phy2>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
@@ -121,7 +121,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&sgmii_phy2>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
@@ -147,7 +147,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x2>;
|
||||
phy-mode = "sgmii-2500";
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
@@ -158,7 +157,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x1>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x3>;
|
||||
phy-mode = "sgmii-2500";
|
||||
phy-handle = <&sgmii_phy2>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
@@ -58,7 +58,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x0>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = <0x0>; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&sgmii_phy>;
|
||||
@@ -69,7 +68,6 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x1>; /* GEM_ID */
|
||||
- fsl,gemac-bus-id = < 0x1 >; /* BUS_ID */
|
||||
fsl,mdio-mux-val = <0x0>;
|
||||
phy-mode = "rgmii-txid";
|
||||
phy-handle = <&rgmii_phy>;
|
@ -0,0 +1,132 @@
|
||||
From 4ed0fefb58b5788368fea2c69d646ee4f2e9e012 Mon Sep 17 00:00:00 2001
|
||||
From: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
Date: Mon, 10 Dec 2018 10:03:51 +0530
|
||||
Subject: [PATCH] arm64: dts: ls1012a: reorganize pfe_mac nodes
|
||||
|
||||
To keep platform specific properties in the platform dts files,
|
||||
remove pfe_mac nodes from dtsi and define them in dts files.
|
||||
|
||||
Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts | 4 ++--
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 4 ++--
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts | 4 ++--
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 4 ++--
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 4 ++--
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 5 -----
|
||||
6 files changed, 10 insertions(+), 15 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
|
||||
@@ -52,7 +52,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- ethernet@0 {
|
||||
+ pfe_mac0: ethernet@0 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -62,7 +62,7 @@
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
- ethernet@1 {
|
||||
+ pfe_mac1: ethernet@1 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
|
||||
@@ -84,7 +84,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- ethernet@0 {
|
||||
+ pfe_mac0: ethernet@0 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -94,7 +94,7 @@
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
- ethernet@1 {
|
||||
+ pfe_mac1: ethernet@1 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
|
||||
@@ -105,7 +105,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- ethernet@0 {
|
||||
+ pfe_mac0: ethernet@0 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -116,7 +116,7 @@
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
- ethernet@1 {
|
||||
+ pfe_mac1: ethernet@1 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
|
||||
@@ -142,7 +142,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- ethernet@0 {
|
||||
+ pfe_mac0: ethernet@0 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -152,7 +152,7 @@
|
||||
phy-handle = <&sgmii_phy1>;
|
||||
};
|
||||
|
||||
- ethernet@1 {
|
||||
+ pfe_mac1: ethernet@1 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
|
||||
@@ -53,7 +53,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
- ethernet@0 {
|
||||
+ pfe_mac0: ethernet@0 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -63,7 +63,7 @@
|
||||
phy-handle = <&sgmii_phy>;
|
||||
};
|
||||
|
||||
- ethernet@1 {
|
||||
+ pfe_mac1: ethernet@1 {
|
||||
compatible = "fsl,pfe-gemac-port";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
@@ -529,11 +529,6 @@
|
||||
clock-names = "pfe";
|
||||
|
||||
status = "okay";
|
||||
- pfe_mac0: ethernet@0 {
|
||||
- };
|
||||
-
|
||||
- pfe_mac1: ethernet@1 {
|
||||
- };
|
||||
};
|
||||
|
||||
firmware {
|
@ -0,0 +1,109 @@
|
||||
From 6119ca5f113320d848ead38b141238b013f538c6 Mon Sep 17 00:00:00 2001
|
||||
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
Date: Wed, 23 Jan 2019 16:28:36 +0200
|
||||
Subject: [PATCH] sdk: dts: ls104x: drop smmu from the qds and usdpaa sdk dts
|
||||
|
||||
Also drop the smmu from the qds and usdpaa versions of the
|
||||
SDK device trees because SMMU is supported only for the
|
||||
upstream version of the dpaa ethernet drivers.
|
||||
|
||||
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts | 14 ++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 14 ++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts | 14 ++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 14 ++++++++++++++
|
||||
4 files changed, 56 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
|
||||
@@ -64,6 +64,20 @@
|
||||
&soc {
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+
|
||||
+pcie@3400000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3500000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3600000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+/delete-node/ iommu@9000000;
|
||||
};
|
||||
|
||||
&fman0 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
@@ -92,6 +92,20 @@
|
||||
fsl,fman-oh-port = <&fman0_oh2>;
|
||||
};
|
||||
};
|
||||
+
|
||||
+ pcie@3400000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+ };
|
||||
+
|
||||
+ pcie@3500000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+ };
|
||||
+
|
||||
+ pcie@3600000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+ };
|
||||
+
|
||||
+ /delete-node/ iommu@9000000;
|
||||
};
|
||||
/ {
|
||||
reserved-memory {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
|
||||
@@ -64,6 +64,20 @@
|
||||
&soc {
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+
|
||||
+pcie@3400000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3500000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+pcie@3600000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+};
|
||||
+
|
||||
+/delete-node/ iommu@9000000;
|
||||
};
|
||||
|
||||
&fsldpaa {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
@@ -85,6 +85,20 @@
|
||||
fsl,fman-oh-port = <&fman0_oh2>;
|
||||
};
|
||||
};
|
||||
+
|
||||
+ pcie@3400000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+ };
|
||||
+
|
||||
+ pcie@3500000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+ };
|
||||
+
|
||||
+ pcie@3600000 {
|
||||
+ /delete-property/ iommu-map;
|
||||
+ };
|
||||
+
|
||||
+ /delete-node/ iommu@9000000;
|
||||
};
|
||||
/ {
|
||||
reserved-memory {
|
@ -0,0 +1,42 @@
|
||||
From 3c6ae8f4d45701683e671ea34bdddd0bf3e37a4d Mon Sep 17 00:00:00 2001
|
||||
From: Camelia Groza <camelia.groza@nxp.com>
|
||||
Date: Wed, 13 Feb 2019 17:52:00 +0200
|
||||
Subject: [PATCH] arm64: dts: fix the LS104x QDS mdio-mux support
|
||||
|
||||
Set the "simple-bus" compatible and the fpga ranges in order to
|
||||
successfully probe the mdio-mux-emi1.
|
||||
|
||||
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 3 ++-
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 3 ++-
|
||||
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
||||
@@ -78,10 +78,11 @@
|
||||
};
|
||||
|
||||
fpga: board-control@2,0 {
|
||||
- compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
|
||||
+ compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis", "simple-bus";
|
||||
reg = <0x2 0x0 0x0000100>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
+ ranges = <0 2 0 0x100>;
|
||||
};
|
||||
};
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
|
||||
@@ -167,8 +167,9 @@
|
||||
};
|
||||
|
||||
fpga: board-control@2,0 {
|
||||
- compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis";
|
||||
+ compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-bus";
|
||||
reg = <0x2 0x0 0x0000100>;
|
||||
+ ranges = <0 2 0 0x100>;
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,247 @@
|
||||
From c9be87f17c64d08c06e4858589a0014f73868867 Mon Sep 17 00:00:00 2001
|
||||
From: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Date: Thu, 28 Feb 2019 17:28:36 +0530
|
||||
Subject: [PATCH] arm64: dts: lx2160aqds: Add mdio mux nodes
|
||||
|
||||
The two external MDIO buses used to communicate with phy devices that are
|
||||
external to SOC are muxed in LX2160AQDS board.
|
||||
These buses can be routed to any one of the eight IO slots on LX2160AQDS
|
||||
board depending on value in fpga register 0x54.
|
||||
Additionally the external MDIO1 is used to communicate to the onboard
|
||||
RGMII phy devices.
|
||||
The mdio1 is controlled by bits 4-7 of fpga register and mdio2 is
|
||||
controlled by bits 4-7 of fpga register.
|
||||
|
||||
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 145 ++++++++++++++++++++++
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 8 ++
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 24 ++--
|
||||
3 files changed, 165 insertions(+), 12 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
@@ -29,6 +29,130 @@
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
};
|
||||
+
|
||||
+ mdio-mux-1 {
|
||||
+ compatible = "mdio-mux-multiplexer";
|
||||
+ mux-controls = <&mux 0>;
|
||||
+ mdio-parent-bus = <&emdio1>;
|
||||
+ #address-cells=<1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ mdio@0 { /* On-board PHY #1 RGMI1*/
|
||||
+ reg = <0x00>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@8 { /* On-board PHY #2 RGMI2*/
|
||||
+ reg = <0x8>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@18 { /* Slot #1 */
|
||||
+ reg = <0x18>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@19 { /* Slot #2 */
|
||||
+ reg = <0x19>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1a { /* Slot #3 */
|
||||
+ reg = <0x1a>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1b { /* Slot #4 */
|
||||
+ reg = <0x1b>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1c { /* Slot #5 */
|
||||
+ reg = <0x1c>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1d { /* Slot #6 */
|
||||
+ reg = <0x1d>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1e { /* Slot #7 */
|
||||
+ reg = <0x1e>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1f { /* Slot #8 */
|
||||
+ reg = <0x1f>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ mdio-mux-2 {
|
||||
+ compatible = "mdio-mux-multiplexer";
|
||||
+ mux-controls = <&mux 1>;
|
||||
+ mdio-parent-bus = <&emdio2>;
|
||||
+ #address-cells=<1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ mdio@0 { /* Slot #1 (secondary EMI) */
|
||||
+ reg = <0x00>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@1 { /* Slot #2 (secondary EMI) */
|
||||
+ reg = <0x01>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@2 { /* Slot #3 (secondary EMI) */
|
||||
+ reg = <0x02>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@3 { /* Slot #4 (secondary EMI) */
|
||||
+ reg = <0x03>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@4 { /* Slot #5 (secondary EMI) */
|
||||
+ reg = <0x04>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@5 { /* Slot #6 (secondary EMI) */
|
||||
+ reg = <0x05>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@6 { /* Slot #7 (secondary EMI) */
|
||||
+ reg = <0x06>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+
|
||||
+ mdio@7 { /* Slot #8 (secondary EMI) */
|
||||
+ reg = <0x07>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
|
||||
&crypto {
|
||||
@@ -71,6 +195,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&emdio1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&emdio2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&esdhc0 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -82,6 +214,19 @@
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
+ fpga@66 {
|
||||
+ compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c",
|
||||
+ "simple-mfd";
|
||||
+ reg = <0x66>;
|
||||
+
|
||||
+ mux: mux-controller {
|
||||
+ compatible = "reg-mux";
|
||||
+ #mux-control-cells = <1>;
|
||||
+ mux-reg-masks = <0x54 0xf8>, /* 0: reg 0x54, bits 7:3 */
|
||||
+ <0x54 0x07>; /* 1: reg 0x54, bit 2:0 */
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
i2c-mux@77 {
|
||||
compatible = "nxp,pca9547";
|
||||
reg = <0x77>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -35,6 +35,14 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&emdio1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&emdio2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&esdhc0 {
|
||||
sd-uhs-sdr104;
|
||||
sd-uhs-sdr50;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -478,26 +478,26 @@
|
||||
little-endian;
|
||||
};
|
||||
|
||||
- /* TODO: WRIOP (CCSR?) */
|
||||
- emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000, E-MDIO1: 0x1_6000 */
|
||||
+ /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
|
||||
+ emdio1: mdio@8b96000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
- reg = <0x0 0x8B96000 0x0 0x1000>;
|
||||
- device_type = "mdio"; /* TODO: is this necessary? */
|
||||
- little-endian; /* force the driver in LE mode */
|
||||
-
|
||||
- /* Not necessary on the QDS, but needed on the RDB */
|
||||
+ reg = <0x0 0x8b96000 0x0 0x1000>;
|
||||
+ interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+ status = "disabled";
|
||||
};
|
||||
|
||||
- emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000, E-MDIO2: 0x1_7000 */
|
||||
+ /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */
|
||||
+ emdio2: mdio@8b97000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
- reg = <0x0 0x8B97000 0x0 0x1000>;
|
||||
- device_type = "mdio"; /* TODO: is this necessary? */
|
||||
- little-endian; /* force the driver in LE mode */
|
||||
-
|
||||
+ reg = <0x0 0x8b97000 0x0 0x1000>;
|
||||
+ interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
+ little-endian; /* force the driver in LE mode */
|
||||
+ status = "disabled";
|
||||
};
|
||||
|
||||
pcs_mdio1: mdio@0x8c07000 {
|
@ -0,0 +1,56 @@
|
||||
From 97b563d9c0cf09897c1e7b793ef0fe677c66269a Mon Sep 17 00:00:00 2001
|
||||
From: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
Date: Wed, 30 Jan 2019 19:18:13 +0530
|
||||
Subject: [PATCH] sdk: arm64: dts: reduce usdpaa memory to 4K for LS1046/43
|
||||
|
||||
This patch reducing the USDPAA reseved memory to 4K.
|
||||
In case USDPAA is to be used, 256MB needs to be reserved in the DTS file.
|
||||
|
||||
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 9 +++++++--
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 9 +++++++--
|
||||
2 files changed, 14 insertions(+), 4 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
@@ -113,11 +113,16 @@
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
+ /* For legacy usdpaa based use-cases, update the size and
|
||||
+ alignment parameters. e.g. to allocate 256 MB memory:
|
||||
+ size = <0 0x10000000>;
|
||||
+ alignment = <0 0x10000000>;
|
||||
+ */
|
||||
usdpaa_mem: usdpaa_mem {
|
||||
compatible = "fsl,usdpaa-mem";
|
||||
alloc-ranges = <0 0 0x10000 0>;
|
||||
- size = <0 0x10000000>;
|
||||
- alignment = <0 0x10000000>;
|
||||
+ size = <0 0x1000>;
|
||||
+ alignment = <0 0x1000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
@@ -106,11 +106,16 @@
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
+ /* For legacy usdpaa based use-cases, update the size and
|
||||
+ alignment parameters. e.g. to allocate 256 MB memory:
|
||||
+ size = <0 0x10000000>;
|
||||
+ alignment = <0 0x10000000>;
|
||||
+ */
|
||||
usdpaa_mem: usdpaa_mem {
|
||||
compatible = "fsl,usdpaa-mem";
|
||||
alloc-ranges = <0 0 0x10000 0>;
|
||||
- size = <0 0x10000000>;
|
||||
- alignment = <0 0x10000000>;
|
||||
+ size = <0 0x1000>;
|
||||
+ alignment = <0 0x1000>;
|
||||
};
|
||||
};
|
||||
};
|
@ -0,0 +1,134 @@
|
||||
From 0c7e3f6f557c2a68527980e940e6a605da1f9e12 Mon Sep 17 00:00:00 2001
|
||||
From: Ran Wang <ran.wang_1@nxp.com>
|
||||
Date: Wed, 16 Jan 2019 15:40:33 +0800
|
||||
Subject: [PATCH] arm64: dts: Fix DWC3 IP VBUS glitch issue on Layerscape
|
||||
platforms
|
||||
|
||||
Cover LS1012A, LS1043A, LS1046A, LS1088A, LS208xA, LX2160A
|
||||
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 +
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 ++
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 ++
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 ++
|
||||
6 files changed, 13 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
@@ -442,6 +442,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
sata: sata@3200000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
|
||||
@@ -712,6 +712,7 @@
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
configure-gfladj;
|
||||
};
|
||||
|
||||
@@ -725,6 +726,7 @@
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
configure-gfladj;
|
||||
};
|
||||
|
||||
@@ -738,6 +740,7 @@
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
configure-gfladj;
|
||||
};
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
|
||||
@@ -610,6 +610,7 @@
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
usb1: usb@3000000 {
|
||||
@@ -622,6 +623,7 @@
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
usb2: usb@3100000 {
|
||||
@@ -634,6 +636,7 @@
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
sata: sata@3200000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
@@ -452,6 +452,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -463,6 +464,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
@@ -820,6 +820,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
usb1: usb3@3110000 {
|
||||
@@ -831,6 +832,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
serdes1: serdes@1ea0000 {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -845,6 +845,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -856,6 +857,7 @@
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -0,0 +1,20 @@
|
||||
From 3c1991fe18bca459d07dd78a2268e26008707f00 Mon Sep 17 00:00:00 2001
|
||||
From: Ran Wang <ran.wang_1@nxp.com>
|
||||
Date: Mon, 25 Feb 2019 13:38:01 +0800
|
||||
Subject: [PATCH] ARM: dts: Fix DWC3 IP VBUS glitch issue on LS1021A
|
||||
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
---
|
||||
arch/arm/boot/dts/ls1021a.dtsi | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/arch/arm/boot/dts/ls1021a.dtsi
|
||||
+++ b/arch/arm/boot/dts/ls1021a.dtsi
|
||||
@@ -877,6 +877,7 @@
|
||||
usb3-lpm-capable;
|
||||
snps,dis-u1u2-when-u3-quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
+ snps,host-vbus-glitches;
|
||||
};
|
||||
|
||||
pcie@3400000 {
|
@ -0,0 +1,25 @@
|
||||
From 6c3655acaa5766efe81f60ac6d428b0d184daa0d Mon Sep 17 00:00:00 2001
|
||||
From: Yinbo Zhu <yinbo.zhu@nxp.com>
|
||||
Date: Fri, 21 Dec 2018 11:38:44 +0800
|
||||
Subject: [PATCH] ARM: dts: ls1021aqds: enable esdhc controller
|
||||
|
||||
This patch is to enable esdhc controller in ls1021aqds
|
||||
|
||||
Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
|
||||
---
|
||||
arch/arm/boot/dts/ls1021a-qds.dts | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- a/arch/arm/boot/dts/ls1021a-qds.dts
|
||||
+++ b/arch/arm/boot/dts/ls1021a-qds.dts
|
||||
@@ -165,6 +165,10 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&esdhc {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
|
@ -0,0 +1,112 @@
|
||||
From 4de7a5e35eff9216fa5e6b138b0ffa75e045e397 Mon Sep 17 00:00:00 2001
|
||||
From: Xiaowei Bao <xiaowei.bao@nxp.com>
|
||||
Date: Thu, 28 Feb 2019 14:09:01 +0800
|
||||
Subject: [PATCH] arm64: dts: freescale: lx2160a: add pcie EP mode DT nodes
|
||||
|
||||
The LX2160A PCIe EP mode node.
|
||||
|
||||
Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 56 ++++++++++++++++++++++++++
|
||||
1 file changed, 56 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -932,6 +932,15 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie_ep@3400000 {
|
||||
+ compatible = "fsl,lx2160a-pcie-ep";
|
||||
+ reg = <0x00 0x03400000 0x0 0x00100000
|
||||
+ 0x80 0x00000000 0x8 0x00000000>;
|
||||
+ reg-names = "regs", "addr_space";
|
||||
+ num-ob-windows = <256>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
pcie@3500000 {
|
||||
compatible = "fsl,lx2160a-pcie";
|
||||
reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
|
||||
@@ -959,6 +968,15 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie_ep@3500000 {
|
||||
+ compatible = "fsl,lx2160a-pcie-ep";
|
||||
+ reg = <0x00 0x03500000 0x0 0x00100000
|
||||
+ 0x88 0x00000000 0x8 0x00000000>;
|
||||
+ reg-names = "regs", "addr_space";
|
||||
+ num-ob-windows = <256>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
pcie@3600000 {
|
||||
compatible = "fsl,lx2160a-pcie";
|
||||
reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
|
||||
@@ -986,6 +1004,16 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie_ep@3600000 {
|
||||
+ compatible = "fsl,lx2160a-pcie-ep";
|
||||
+ reg = <0x00 0x03600000 0x0 0x00100000
|
||||
+ 0x90 0x00000000 0x8 0x00000000>;
|
||||
+ reg-names = "regs", "addr_space";
|
||||
+ num-ob-windows = <256>;
|
||||
+ max-functions = <2>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
pcie@3700000 {
|
||||
compatible = "fsl,lx2160a-pcie";
|
||||
reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */
|
||||
@@ -1013,6 +1041,15 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie_ep@3700000 {
|
||||
+ compatible = "fsl,lx2160a-pcie-ep";
|
||||
+ reg = <0x00 0x03700000 0x0 0x00100000
|
||||
+ 0x98 0x00000000 0x8 0x00000000>;
|
||||
+ reg-names = "regs", "addr_space";
|
||||
+ num-ob-windows = <256>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
pcie@3800000 {
|
||||
compatible = "fsl,lx2160a-pcie";
|
||||
reg = <0x00 0x03800000 0x0 0x00100000 /* controller registers */
|
||||
@@ -1040,6 +1077,16 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie_ep@3800000 {
|
||||
+ compatible = "fsl,lx2160a-pcie-ep";
|
||||
+ reg = <0x00 0x03800000 0x0 0x00100000
|
||||
+ 0xa0 0x00000000 0x8 0x00000000>;
|
||||
+ reg-names = "regs", "addr_space";
|
||||
+ num-ob-windows = <256>;
|
||||
+ max-functions = <2>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
pcie@3900000 {
|
||||
compatible = "fsl,lx2160a-pcie";
|
||||
reg = <0x00 0x03900000 0x0 0x00100000 /* controller registers */
|
||||
@@ -1067,6 +1114,15 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ pcie_ep@3900000 {
|
||||
+ compatible = "fsl,lx2160a-pcie-ep";
|
||||
+ reg = <0x00 0x03900000 0x0 0x00100000
|
||||
+ 0xa8 0x00000000 0x8 0x00000000>;
|
||||
+ reg-names = "regs", "addr_space";
|
||||
+ num-ob-windows = <256>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
smmu: iommu@5000000 {
|
||||
compatible = "arm,mmu-500";
|
||||
reg = <0 0x5000000 0 0x800000>;
|
@ -0,0 +1,879 @@
|
||||
From 6795bab4281aa9ed8e0ba3fbba06de8dd369b17c Mon Sep 17 00:00:00 2001
|
||||
From: Ran Wang <ran.wang_1@nxp.com>
|
||||
Date: Thu, 21 Feb 2019 13:32:59 +0800
|
||||
Subject: [PATCH] sdk: dts: ls104x move dma-coherent from soc to its child
|
||||
nodes
|
||||
|
||||
Since SMMU is not supported for SDK version, USB function will down if
|
||||
still apply property 'dma-coherent' in scope of soc (USB driver is not
|
||||
ready to support it alone) in SDK device trees, decide to remove it.
|
||||
And add dma-coherent on other non-USB child nodes under soc.
|
||||
|
||||
dma-coherent feature in dts node will cause issue that
|
||||
QE-HDLC received too little, when a lot of data is transmitted while
|
||||
just little data received, the Tx buffer will run out.
|
||||
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
|
||||
---
|
||||
.../boot/dts/freescale/fsl-ls1043a-qds-sdk.dts | 184 ++++++++++++++++++++-
|
||||
.../boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts | 177 ++++++++++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 4 +
|
||||
.../boot/dts/freescale/fsl-ls1046a-qds-sdk.dts | 175 ++++++++++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts | 178 ++++++++++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 4 +
|
||||
6 files changed, 719 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
|
||||
@@ -62,19 +62,24 @@
|
||||
};
|
||||
|
||||
&soc {
|
||||
+/delete-property/ dma-coherent;
|
||||
+
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
|
||||
pcie@3400000 {
|
||||
- /delete-property/ iommu-map;
|
||||
+ /delete-property/ iommu-map;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
pcie@3500000 {
|
||||
- /delete-property/ iommu-map;
|
||||
+ /delete-property/ iommu-map;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
pcie@3600000 {
|
||||
- /delete-property/ iommu-map;
|
||||
+ /delete-property/ iommu-map;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
/delete-node/ iommu@9000000;
|
||||
@@ -82,4 +87,177 @@ pcie@3600000 {
|
||||
|
||||
&fman0 {
|
||||
compatible = "fsl,fman", "simple-bus";
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&clockgen {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&scfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&crypto {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dcfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ifc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&esdhc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ddr {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&tmu {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dspi0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dspi1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio4 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&uqe {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart4 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart5 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ftm0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&wdog0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&edma0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qdma {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ptp_timer0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ dma-coherent;
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
|
||||
@@ -62,19 +62,24 @@
|
||||
};
|
||||
|
||||
&soc {
|
||||
+/delete-property/ dma-coherent;
|
||||
+
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
|
||||
pcie@3400000 {
|
||||
/delete-property/ iommu-map;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
pcie@3500000 {
|
||||
/delete-property/ iommu-map;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
pcie@3600000 {
|
||||
/delete-property/ iommu-map;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
/delete-node/ iommu@9000000;
|
||||
@@ -83,3 +88,175 @@ pcie@3600000 {
|
||||
&fman0 {
|
||||
compatible = "fsl,fman", "simple-bus";
|
||||
};
|
||||
+
|
||||
+&clockgen {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&scfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&crypto {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dcfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ifc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&esdhc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ddr {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&tmu {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dspi0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dspi1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio4 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart4 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart5 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ftm0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&wdog0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&edma0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qdma {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ptp_timer0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
|
||||
@@ -16,6 +16,7 @@
|
||||
fsl,bpid = <7>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
|
||||
fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
bp8: buffer-pool@8 {
|
||||
@@ -23,6 +24,7 @@
|
||||
fsl,bpid = <8>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
|
||||
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
bp9: buffer-pool@9 {
|
||||
@@ -30,10 +32,12 @@
|
||||
fsl,bpid = <9>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
|
||||
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
fsl,dpaa {
|
||||
compatible = "fsl,ls1043a", "fsl,dpaa", "simple-bus";
|
||||
+ dma-coherent;
|
||||
|
||||
ethernet@0 {
|
||||
compatible = "fsl,dpa-ethernet-init";
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
|
||||
@@ -62,6 +62,8 @@
|
||||
};
|
||||
|
||||
&soc {
|
||||
+/delete-property/ dma-coherent;
|
||||
+
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
|
||||
@@ -90,4 +92,177 @@ pcie@3600000 {
|
||||
|
||||
&fman0 {
|
||||
compatible = "fsl,fman", "simple-bus";
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&clockgen {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&scfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&crypto {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dcfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ifc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&esdhc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ddr {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&tmu {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dspi {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart4 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart5 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ftm0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&wdog0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&edma0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&sata {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qdma {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ptp_timer0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&serdes1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ dma-coherent;
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
|
||||
@@ -62,6 +62,8 @@
|
||||
};
|
||||
|
||||
&soc {
|
||||
+/delete-property/ dma-coherent;
|
||||
+
|
||||
#include "qoriq-dpaa-eth.dtsi"
|
||||
#include "qoriq-fman3-0-6oh.dtsi"
|
||||
|
||||
@@ -127,3 +129,179 @@ pcie@3600000 {
|
||||
* phy-handle = <&pcsphy7>;
|
||||
*};
|
||||
*/
|
||||
+
|
||||
+&clockgen {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&scfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&crypto {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dcfg {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ifc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qspi {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&esdhc {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ddr {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&tmu {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bman {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&bportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qportals {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&dspi {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&duart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&gpio3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart4 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&lpuart5 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ftm0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&wdog0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&edma0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&sata {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&qdma {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi2 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&msi3 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&ptp_timer0 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&serdes1 {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ dma-coherent;
|
||||
+};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
|
||||
@@ -16,6 +16,7 @@
|
||||
fsl,bpid = <7>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
|
||||
fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
bp8: buffer-pool@8 {
|
||||
@@ -23,6 +24,7 @@
|
||||
fsl,bpid = <8>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
|
||||
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
bp9: buffer-pool@9 {
|
||||
@@ -30,10 +32,12 @@
|
||||
fsl,bpid = <9>;
|
||||
fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
|
||||
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ dma-coherent;
|
||||
};
|
||||
|
||||
fsl,dpaa {
|
||||
compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus";
|
||||
+ dma-coherent;
|
||||
|
||||
ethernet@2 {
|
||||
compatible = "fsl,dpa-ethernet-init";
|
@ -0,0 +1,32 @@
|
||||
From e260d97c7875d5ef6aca11e49bf2784966a877c2 Mon Sep 17 00:00:00 2001
|
||||
From: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
|
||||
Date: Thu, 4 Apr 2019 17:44:46 +0300
|
||||
Subject: [PATCH] arm64: dts: lx2160a: add interrupt property for aquantia phy
|
||||
|
||||
Add interrupt property for Aquantia AQR107 ethernet phy, currently
|
||||
working in polling mode.
|
||||
|
||||
Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -184,14 +184,14 @@
|
||||
aquantia_phy1: ethernet-phy@4 {
|
||||
/* AQR107 PHY - "compatible" property not strictly needed */
|
||||
compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg = <0x4>;
|
||||
- /* Poll mode - no "interrupts" property defined */
|
||||
};
|
||||
aquantia_phy2: ethernet-phy@5 {
|
||||
/* AQR107 PHY - "compatible" property not strictly needed */
|
||||
compatible = "ethernet-phy-ieee802.3-c45";
|
||||
+ interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reg = <0x5>;
|
||||
- /* Poll mode - no "interrupts" property defined */
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,292 @@
|
||||
From d949248dccef18f7257d8de0adfd67244955e7b7 Mon Sep 17 00:00:00 2001
|
||||
From: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Date: Mon, 22 Apr 2019 16:22:49 +0530
|
||||
Subject: [PATCH] arm64: dts: fsl: layerscape: fix warnings when compiling dts
|
||||
files
|
||||
|
||||
when compiling dts file using DTC_FLAG='-@', the device tree compiler
|
||||
reports these warnings:
|
||||
|
||||
Warning (simple_bus_reg): /soc/mdio@0x8c0b000: simple-bus unit address
|
||||
format error, expected "8c0b000"
|
||||
Warning (unit_address_format): /pfe@04000000: unit name should not have
|
||||
leading 0s
|
||||
|
||||
Fixed the node names to silence these warnings.
|
||||
|
||||
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 3 ++-
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 14 +++++++-------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 22 +++++++++++-----------
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 +++++++++---------
|
||||
4 files changed, 29 insertions(+), 28 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
|
||||
@@ -3,6 +3,7 @@
|
||||
* Device Tree Include file for Freescale Layerscape-1012A family SoC.
|
||||
*
|
||||
* Copyright 2016 Freescale Semiconductor, Inc.
|
||||
+ * Copyright 2019 NXP
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -513,7 +514,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
- pfe: pfe@04000000 {
|
||||
+ pfe: pfe@4000000 {
|
||||
compatible = "fsl,pfe";
|
||||
reg = <0x0 0x04000000 0x0 0xc00000>, /* AXI 16M */
|
||||
<0x0 0x83400000 0x0 0xc00000>; /* PFE DDR 12M */
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
|
||||
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* Device Tree Include file for NXP Layerscape-1088A family SoC.
|
||||
*
|
||||
- * Copyright 2017 NXP
|
||||
+ * Copyright 2017-2019 NXP
|
||||
*
|
||||
* Harninder Rai <harninder.rai@nxp.com>
|
||||
*
|
||||
@@ -310,7 +310,7 @@
|
||||
};
|
||||
|
||||
/* TODO: WRIOP (CCSR?) */
|
||||
- emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ emdio1: mdio@8B96000 { /* WRIOP0: 0x8B8_0000,
|
||||
* E-MDIO1: 0x1_6000
|
||||
*/
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
@@ -323,7 +323,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ emdio2: mdio@8B97000 { /* WRIOP0: 0x8B8_0000,
|
||||
* E-MDIO2: 0x1_7000
|
||||
*/
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
@@ -335,7 +335,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio1: mdio@0x8c07000 {
|
||||
+ pcs_mdio1: mdio@8c07000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c07000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -345,7 +345,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio2: mdio@0x8c0b000 {
|
||||
+ pcs_mdio2: mdio@8c0b000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c0b000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -355,7 +355,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio3: mdio@0x8c0f000 {
|
||||
+ pcs_mdio3: mdio@8c0f000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c0f000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -365,7 +365,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio4: mdio@0x8c13000 {
|
||||
+ pcs_mdio4: mdio@8c13000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c13000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
|
||||
@@ -3,7 +3,7 @@
|
||||
* Device Tree Include file for Freescale Layerscape-2080A family SoC.
|
||||
*
|
||||
* Copyright 2016 Freescale Semiconductor, Inc.
|
||||
- * Copyright 2017 NXP
|
||||
+ * Copyright 2017-2019 NXP
|
||||
*
|
||||
* Abhimanyu Saini <abhimanyu.saini@nxp.com>
|
||||
*
|
||||
@@ -525,7 +525,7 @@
|
||||
};
|
||||
|
||||
/* TODO: WRIOP (CCSR?) */
|
||||
- emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ emdio1: mdio@8B96000 { /* WRIOP0: 0x8B8_0000,
|
||||
* E-MDIO1: 0x1_6000
|
||||
*/
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
@@ -538,7 +538,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
|
||||
+ emdio2: mdio@8B97000 { /* WRIOP0: 0x8B8_0000,
|
||||
* E-MDIO2: 0x1_7000
|
||||
*/
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
@@ -550,7 +550,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio1: mdio@0x8c07000 {
|
||||
+ pcs_mdio1: mdio@8c07000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c07000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -560,7 +560,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio2: mdio@0x8c0b000 {
|
||||
+ pcs_mdio2: mdio@8c0b000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c0b000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -570,7 +570,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio3: mdio@0x8c0f000 {
|
||||
+ pcs_mdio3: mdio@8c0f000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c0f000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -580,7 +580,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio4: mdio@0x8c13000 {
|
||||
+ pcs_mdio4: mdio@8c13000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c13000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -590,7 +590,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio5: mdio@0x8c17000 {
|
||||
+ pcs_mdio5: mdio@8c17000 {
|
||||
status = "disabled";
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c17000 0x0 0x1000>;
|
||||
@@ -601,7 +601,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio6: mdio@0x8c1b000 {
|
||||
+ pcs_mdio6: mdio@8c1b000 {
|
||||
status = "disabled";
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c1b000 0x0 0x1000>;
|
||||
@@ -612,7 +612,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio7: mdio@0x8c1f000 {
|
||||
+ pcs_mdio7: mdio@8c1f000 {
|
||||
status = "disabled";
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c1f000 0x0 0x1000>;
|
||||
@@ -623,7 +623,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio8: mdio@0x8c23000 {
|
||||
+ pcs_mdio8: mdio@8c23000 {
|
||||
status = "disabled";
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c23000 0x0 0x1000>;
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Device Tree Include file for Layerscape-LX2160A family SoC.
|
||||
//
|
||||
-// Copyright 2018 NXP
|
||||
+// Copyright 2018-2019 NXP
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
@@ -500,7 +500,7 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
- pcs_mdio1: mdio@0x8c07000 {
|
||||
+ pcs_mdio1: mdio@8c07000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c07000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -510,7 +510,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio2: mdio@0x8c0b000 {
|
||||
+ pcs_mdio2: mdio@8c0b000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c0b000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -520,7 +520,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio3: mdio@0x8c0f000 {
|
||||
+ pcs_mdio3: mdio@8c0f000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c0f000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -530,7 +530,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio4: mdio@0x8c13000 {
|
||||
+ pcs_mdio4: mdio@8c13000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c13000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -540,7 +540,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio5: mdio@0x8c17000 {
|
||||
+ pcs_mdio5: mdio@8c17000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c17000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -550,7 +550,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio6: mdio@0x8c1b000 {
|
||||
+ pcs_mdio6: mdio@8c1b000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c1b000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -560,7 +560,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio7: mdio@0x8c1f000 {
|
||||
+ pcs_mdio7: mdio@8c1f000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c1f000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
||||
@@ -570,7 +570,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
- pcs_mdio8: mdio@0x8c23000 {
|
||||
+ pcs_mdio8: mdio@8c23000 {
|
||||
compatible = "fsl,fman-memac-mdio";
|
||||
reg = <0x0 0x8c23000 0x0 0x1000>;
|
||||
device_type = "mdio";
|
@ -0,0 +1,114 @@
|
||||
From 92aff696c8708ff5293eb000e98456e23afe1cb3 Mon Sep 17 00:00:00 2001
|
||||
From: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Date: Mon, 22 Apr 2019 16:43:13 +0530
|
||||
Subject: [PATCH] arm64: dts: fsl: layerscape: fix warnings when compiling dts
|
||||
files
|
||||
|
||||
when compiling dts file using DTC_FLAG='-@', the device tree compiler
|
||||
reports these warnings:
|
||||
|
||||
Warning (alias_paths): /aliases: aliases property name must include
|
||||
only lowercase and '-'
|
||||
|
||||
Fixed the node aliases to silence these warnings.
|
||||
|
||||
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 34 +++++++++++------------
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 28 +++++++++----------
|
||||
2 files changed, 31 insertions(+), 31 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
|
||||
@@ -3,7 +3,7 @@
|
||||
* Device Tree Include file for Freescale Layerscape-1043A family SoC.
|
||||
*
|
||||
* Copyright 2014-2015 Freescale Semiconductor, Inc.
|
||||
- * Copyright 2018 NXP
|
||||
+ * Copyright 2018-2019 NXP
|
||||
*
|
||||
* Mingkai Hu <Mingkai.hu@freescale.com>
|
||||
*/
|
||||
@@ -24,22 +24,22 @@
|
||||
serial1 = &duart1;
|
||||
serial2 = &duart2;
|
||||
serial3 = &duart3;
|
||||
- sgmii_riser_s1_p1 = &sgmii_phy_s1_p1;
|
||||
- sgmii_riser_s2_p1 = &sgmii_phy_s2_p1;
|
||||
- sgmii_riser_s3_p1 = &sgmii_phy_s3_p1;
|
||||
- sgmii_riser_s4_p1 = &sgmii_phy_s4_p1;
|
||||
- qsgmii_s1_p1 = &qsgmii_phy_s1_p1;
|
||||
- qsgmii_s1_p2 = &qsgmii_phy_s1_p2;
|
||||
- qsgmii_s1_p3 = &qsgmii_phy_s1_p3;
|
||||
- qsgmii_s1_p4 = &qsgmii_phy_s1_p4;
|
||||
- qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
|
||||
- qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
|
||||
- qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
|
||||
- qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
|
||||
- emi1_slot1 = &ls1043mdio_s1;
|
||||
- emi1_slot2 = &ls1043mdio_s2;
|
||||
- emi1_slot3 = &ls1043mdio_s3;
|
||||
- emi1_slot4 = &ls1043mdio_s4;
|
||||
+ sgmii-riser-s1-p1 = &sgmii_phy_s1_p1;
|
||||
+ sgmii-riser-s2-p1 = &sgmii_phy_s2_p1;
|
||||
+ sgmii-riser-s3-p1 = &sgmii_phy_s3_p1;
|
||||
+ sgmii-riser-s4-p1 = &sgmii_phy_s4_p1;
|
||||
+ qsgmii-s1-p1 = &qsgmii_phy_s1_p1;
|
||||
+ qsgmii-s1-p2 = &qsgmii_phy_s1_p2;
|
||||
+ qsgmii-s1-p3 = &qsgmii_phy_s1_p3;
|
||||
+ qsgmii-s1-p4 = &qsgmii_phy_s1_p4;
|
||||
+ qsgmii-s2-p1 = &qsgmii_phy_s2_p1;
|
||||
+ qsgmii-s2-p2 = &qsgmii_phy_s2_p2;
|
||||
+ qsgmii-s2-p3 = &qsgmii_phy_s2_p3;
|
||||
+ qsgmii-s2-p4 = &qsgmii_phy_s2_p4;
|
||||
+ emi1-slot1 = &ls1043mdio_s1;
|
||||
+ emi1-slot2 = &ls1043mdio_s2;
|
||||
+ emi1-slot3 = &ls1043mdio_s3;
|
||||
+ emi1-slot4 = &ls1043mdio_s4;
|
||||
};
|
||||
|
||||
chosen {
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
|
||||
@@ -3,7 +3,7 @@
|
||||
* Device Tree Include file for Freescale Layerscape-1046A family SoC.
|
||||
*
|
||||
* Copyright 2016 Freescale Semiconductor, Inc.
|
||||
- * Copyright 2018 NXP
|
||||
+ * Copyright 2018-2019 NXP
|
||||
*
|
||||
* Shaohui Xie <Shaohui.Xie@nxp.com>
|
||||
*/
|
||||
@@ -26,19 +26,19 @@
|
||||
serial2 = &duart2;
|
||||
serial3 = &duart3;
|
||||
|
||||
- emi1_slot1 = &ls1046mdio_s1;
|
||||
- emi1_slot2 = &ls1046mdio_s2;
|
||||
- emi1_slot4 = &ls1046mdio_s4;
|
||||
-
|
||||
- sgmii_s1_p1 = &sgmii_phy_s1_p1;
|
||||
- sgmii_s1_p2 = &sgmii_phy_s1_p2;
|
||||
- sgmii_s1_p3 = &sgmii_phy_s1_p3;
|
||||
- sgmii_s1_p4 = &sgmii_phy_s1_p4;
|
||||
- sgmii_s4_p1 = &sgmii_phy_s4_p1;
|
||||
- qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
|
||||
- qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
|
||||
- qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
|
||||
- qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
|
||||
+ emi1-slot1 = &ls1046mdio_s1;
|
||||
+ emi1-slot2 = &ls1046mdio_s2;
|
||||
+ emi1-slot4 = &ls1046mdio_s4;
|
||||
+
|
||||
+ sgmii-s1-p1 = &sgmii_phy_s1_p1;
|
||||
+ sgmii-s1-p2 = &sgmii_phy_s1_p2;
|
||||
+ sgmii-s1-p3 = &sgmii_phy_s1_p3;
|
||||
+ sgmii-s1-p4 = &sgmii_phy_s1_p4;
|
||||
+ sgmii-s4-p1 = &sgmii_phy_s4_p1;
|
||||
+ qsgmii-s2-p1 = &qsgmii_phy_s2_p1;
|
||||
+ qsgmii-s2-p2 = &qsgmii_phy_s2_p2;
|
||||
+ qsgmii-s2-p3 = &qsgmii_phy_s2_p3;
|
||||
+ qsgmii-s2-p4 = &qsgmii_phy_s2_p4;
|
||||
};
|
||||
|
||||
chosen {
|
@ -0,0 +1,187 @@
|
||||
From 13fdde4dfdccd567ae459db6e439a53496732748 Mon Sep 17 00:00:00 2001
|
||||
From: Pramod Kumar <pramod.kumar_1@nxp.com>
|
||||
Date: Wed, 8 May 2019 18:25:16 +0530
|
||||
Subject: [PATCH] sdk: arm64: dts: nxp: add DPAA1 SDK flavor dts files
|
||||
|
||||
dts fsl-ls1046a-frwy-sdk.dts which enables sdk specific entries
|
||||
dts fsl-ls1046a-frwy-usdpaa.dts which enables dpdk
|
||||
|
||||
Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
|
||||
Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/Makefile | 2 +
|
||||
.../boot/dts/freescale/fsl-ls1046a-frwy-sdk.dts | 53 ++++++++++++
|
||||
.../boot/dts/freescale/fsl-ls1046a-frwy-usdpaa.dts | 99 ++++++++++++++++++++++
|
||||
3 files changed, 154 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy-sdk.dts
|
||||
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy-usdpaa.dts
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/Makefile
|
||||
+++ b/arch/arm64/boot/dts/freescale/Makefile
|
||||
@@ -13,6 +13,8 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-sdk.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-usdpaa.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy-sdk.dtb
|
||||
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-frwy-usdpaa.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds-sdk.dtb
|
||||
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy-sdk.dts
|
||||
@@ -0,0 +1,53 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1046A family SoC.
|
||||
+ *
|
||||
+ * Copyright 2019 NXP.
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1046a-frwy.dts"
|
||||
+#include "qoriq-qman-portals-sdk.dtsi"
|
||||
+#include "qoriq-bman-portals-sdk.dtsi"
|
||||
+
|
||||
+&bman_fbpr {
|
||||
+ compatible = "fsl,bman-fbpr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_fqd {
|
||||
+ compatible = "fsl,qman-fqd";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+&qman_pfdr {
|
||||
+ compatible = "fsl,qman-pfdr";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+};
|
||||
+
|
||||
+&soc {
|
||||
+#include "qoriq-dpaa-eth.dtsi"
|
||||
+#include "qoriq-fman3-0-6oh.dtsi"
|
||||
+};
|
||||
+
|
||||
+&fsldpaa {
|
||||
+ ethernet@1 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ ethernet@2 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ ethernet@3 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ ethernet@6 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+ ethernet@9 {
|
||||
+ compatible = "fsl,dpa-ethernet";
|
||||
+ fsl,fman-mac = <&enet7>;
|
||||
+ dma-coherent;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ compatible = "fsl,fman", "simple-bus";
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy-usdpaa.dts
|
||||
@@ -0,0 +1,99 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Device Tree Include file for Freescale Layerscape-1046A family SoC.
|
||||
+ *
|
||||
+ * Copyright 2019 NXP.
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+#include "fsl-ls1046a-frwy-sdk.dts"
|
||||
+
|
||||
+&soc {
|
||||
+ bp7: buffer-pool@7 {
|
||||
+ compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <7>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
|
||||
+ fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ bp8: buffer-pool@8 {
|
||||
+ compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <8>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
|
||||
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ bp9: buffer-pool@9 {
|
||||
+ compatible = "fsl,ls1046a-bpool", "fsl,bpool";
|
||||
+ fsl,bpid = <9>;
|
||||
+ fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
|
||||
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
|
||||
+ };
|
||||
+
|
||||
+ fsl,dpaa {
|
||||
+ compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus";
|
||||
+
|
||||
+ ethernet@0 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x50 1 0x51 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x70 1 0x71 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@4 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x52 1 0x53 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x72 1 0x73 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@5 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
|
||||
+ };
|
||||
+
|
||||
+ ethernet@9 {
|
||||
+ compatible = "fsl,dpa-ethernet-init";
|
||||
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
|
||||
+ fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
|
||||
+ fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
|
||||
+ };
|
||||
+
|
||||
+ dpa-fman0-oh@2 {
|
||||
+ compatible = "fsl,dpa-oh";
|
||||
+ /* Define frame queues for the OH port*/
|
||||
+ /* <OH Rx error, OH Rx default> */
|
||||
+ fsl,qman-frame-queues-oh = <0x60 1 0x61 1>;
|
||||
+ fsl,fman-oh-port = <&fman0_oh2>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+/ {
|
||||
+ reserved-memory {
|
||||
+ #address-cells = <2>;
|
||||
+ #size-cells = <2>;
|
||||
+ ranges;
|
||||
+ /* For legacy usdpaa based use-cases, update the size and
|
||||
+ alignment parameters. e.g. to allocate 256 MB memory:
|
||||
+ size = <0 0x10000000>;
|
||||
+ alignment = <0 0x10000000>;
|
||||
+ */
|
||||
+
|
||||
+ usdpaa_mem: usdpaa_mem {
|
||||
+ compatible = "fsl,usdpaa-mem";
|
||||
+ alloc-ranges = <0 0 0x10000 0>;
|
||||
+ size = <0 0x1000>;
|
||||
+ alignment = <0 0x1000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fman0 {
|
||||
+ fman0_oh2: port@83000 {
|
||||
+ cell-index = <1>;
|
||||
+ compatible = "fsl,fman-port-oh";
|
||||
+ reg = <0x83000 0x1000>;
|
||||
+ };
|
||||
+};
|
@ -0,0 +1,40 @@
|
||||
From 3c013ab682fe1e6ca0473141f03f26e2f47980ad Mon Sep 17 00:00:00 2001
|
||||
From: Pramod Kumar <pramod.kumar_1@nxp.com>
|
||||
Date: Fri, 10 May 2019 14:33:37 +0530
|
||||
Subject: [PATCH] arm64: dts: nxp: frwy-ls1046a: add support for micron nor
|
||||
flash
|
||||
|
||||
add micron nor flash support for ls1046a frwy board.
|
||||
|
||||
Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
|
||||
Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts
|
||||
@@ -112,6 +112,23 @@
|
||||
|
||||
};
|
||||
|
||||
+
|
||||
+&qspi {
|
||||
+ num-cs = <1>;
|
||||
+ bus-num = <0>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ qflash0: flash@0 {
|
||||
+ compatible = "jedec,spi-nor";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ spi-max-frequency = <50000000>;
|
||||
+ reg = <0>;
|
||||
+ spi-rx-bus-width = <4>;
|
||||
+ spi-tx-bus-width = <4>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
#include "fsl-ls1046-post.dtsi"
|
||||
|
||||
&fman0 {
|
@ -0,0 +1,71 @@
|
||||
From 25291f86f449c4488a0a46b1e6b3ce3b83dbf1f9 Mon Sep 17 00:00:00 2001
|
||||
From: Xiaowei Bao <xiaowei.bao@nxp.com>
|
||||
Date: Wed, 15 May 2019 10:14:30 +0800
|
||||
Subject: [PATCH] arm64: dts: ls1028a: Add PCIe controller DT nodes
|
||||
|
||||
LS1028a implements 2 PCIe 3.0 controllers.
|
||||
|
||||
Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 50 ++++++++++++++++++++++++++
|
||||
1 file changed, 50 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
|
||||
@@ -631,6 +631,56 @@
|
||||
};
|
||||
};
|
||||
|
||||
+ pcie@3400000 {
|
||||
+ compatible = "fsl,ls1028a-pcie";
|
||||
+ reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
|
||||
+ 0x80 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
+ reg-names = "regs", "config";
|
||||
+ interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
|
||||
+ <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
|
||||
+ interrupt-names = "pme", "aer";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
+ 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pcie@3500000 {
|
||||
+ compatible = "fsl,ls1028a-pcie";
|
||||
+ reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
|
||||
+ 0x88 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
+ reg-names = "regs", "config";
|
||||
+ interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ interrupt-names = "pme", "aer";
|
||||
+ #address-cells = <3>;
|
||||
+ #size-cells = <2>;
|
||||
+ device_type = "pci";
|
||||
+ dma-coherent;
|
||||
+ bus-range = <0x0 0xff>;
|
||||
+ ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000 /* downstream I/O */
|
||||
+ 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
|
||||
+ msi-parent = <&its>;
|
||||
+ #interrupt-cells = <1>;
|
||||
+ interrupt-map-mask = <0 0 0 7>;
|
||||
+ interrupt-map = <0000 0 0 1 &gic GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 2 &gic GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 3 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
|
||||
+ <0000 0 0 4 &gic GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
pcie@1f0000000 { /* Integrated Endpoint Root Complex */
|
||||
compatible = "pci-host-ecam-generic";
|
||||
reg = <0x01 0xf0000000 0x0 0x100000>;
|
@ -0,0 +1,34 @@
|
||||
From 74f9f7ee3f4b2e88bd29e7ac3dbc6a8ffe2e97f9 Mon Sep 17 00:00:00 2001
|
||||
From: Ran Wang <ran.wang_1@nxp.com>
|
||||
Date: Wed, 15 May 2019 13:33:49 +0800
|
||||
Subject: [PATCH] arm64: dts: lx2160a: Enable usb3-lpm-capable for usb3 node
|
||||
|
||||
Enable USB3 HW LPM feature for lx2160a and active patch for
|
||||
snps erratum A-010131. It will disable U1/U2 temperary when
|
||||
initiate U3 request.
|
||||
|
||||
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -843,6 +843,8 @@
|
||||
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
snps,host-vbus-glitches;
|
||||
@@ -855,6 +857,8 @@
|
||||
interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dr_mode = "host";
|
||||
snps,quirk-frame-length-adjustment = <0x20>;
|
||||
+ usb3-lpm-capable;
|
||||
+ snps,dis-u1u2-when-u3-quirk;
|
||||
snps,dis_rxdet_inp3_quirk;
|
||||
snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
|
||||
snps,host-vbus-glitches;
|
@ -0,0 +1,103 @@
|
||||
From c2046901f933b0e1c87c5cbdab4ba27a3b66317e Mon Sep 17 00:00:00 2001
|
||||
From: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
Date: Wed, 8 May 2019 17:49:14 +0530
|
||||
Subject: [PATCH] arm64: dts: fsl: lx2160a: add flexcan node
|
||||
|
||||
Add flexcan node in LX2160A SOC file as well as in QDS and RDB files.
|
||||
The device tree bindings used can be referred from
|
||||
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
|
||||
|
||||
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
|
||||
---
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 10 +++++++++-
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 18 +++++++++++++++++-
|
||||
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 ++++++++++++++++++
|
||||
3 files changed, 44 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Device Tree file for LX2160AQDS
|
||||
//
|
||||
-// Copyright 2018 NXP
|
||||
+// Copyright 2018-2019 NXP
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
@@ -155,6 +155,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&can0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&can1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&crypto {
|
||||
status = "okay";
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Device Tree file for LX2160ARDB
|
||||
//
|
||||
-// Copyright 2018 NXP
|
||||
+// Copyright 2018-2019 NXP
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
@@ -31,6 +31,22 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&can0 {
|
||||
+ status = "okay";
|
||||
+
|
||||
+ can-transceiver {
|
||||
+ max-bitrate = <5000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&can1 {
|
||||
+ status = "okay";
|
||||
+
|
||||
+ can-transceiver {
|
||||
+ max-bitrate = <5000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&crypto {
|
||||
status = "okay";
|
||||
};
|
||||
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
|
||||
@@ -753,6 +753,24 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
+ can0: can@2180000 {
|
||||
+ compatible = "fsl,lx2160ar1-flexcan";
|
||||
+ reg = <0x0 0x2180000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&sysclk>, <&clockgen 4 7>;
|
||||
+ clock-names = "ipg", "per";
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ can1: can@2190000 {
|
||||
+ compatible = "fsl,lx2160ar1-flexcan";
|
||||
+ reg = <0x0 0x2190000 0x0 0x10000>;
|
||||
+ interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ clocks = <&sysclk>, <&clockgen 4 7>;
|
||||
+ clock-names = "ipg", "per";
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
uart0: serial@21c0000 {
|
||||
compatible = "arm,sbsa-uart","arm,pl011";
|
||||
reg = <0x0 0x21c0000 0x0 0x1000>;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user