Message ID | 1501679339-13466-1-git-send-email-andy.yan@rock-chips.com |
---|---|
State | Accepted |
Delegated to: | Philipp Tomsich |
Headers | show |
> Device drivers like debug serial, dmc should be enabled before > relocation, so add u-boot.dtsi files to contain devices that > should be marked as dm-pre-reloc. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > --- > > arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-sheep-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > 3 files changed, 105 insertions(+) > create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi > Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Device drivers like debug serial, dmc should be enabled before > relocation, so add u-boot.dtsi files to contain devices that > should be marked as dm-pre-reloc. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > --- > > arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-sheep-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > 3 files changed, 105 insertions(+) > create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi > Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
On 2 August 2017 at 07:08, Andy Yan <andy.yan@rock-chips.com> wrote: > Device drivers like debug serial, dmc should be enabled before > relocation, so add u-boot.dtsi files to contain devices that > should be marked as dm-pre-reloc. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > --- > > arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-sheep-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > 3 files changed, 105 insertions(+) > create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi > Reviewed-by: Simon Glass <sjg@chromium.org>
> Device drivers like debug serial, dmc should be enabled before > relocation, so add u-boot.dtsi files to contain devices that > should be marked as dm-pre-reloc. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > --- > > arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > arch/arm/dts/rk3368-sheep-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ > 3 files changed, 105 insertions(+) > create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi > Applied to u-boot-rockchip, thanks!
diff --git a/arch/arm/dts/rk3368-geekbox-u-boot.dtsi b/arch/arm/dts/rk3368-geekbox-u-boot.dtsi new file mode 100644 index 0000000..7cf4a36 --- /dev/null +++ b/arch/arm/dts/rk3368-geekbox-u-boot.dtsi @@ -0,0 +1,35 @@ +/* + * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH + * + * SPDX-License-Identifier: GPL-2.0+ X11 + */ + +&pinctrl { + u-boot,dm-pre-reloc; +}; + +&service_msch { + u-boot,dm-pre-reloc; +}; + +&dmc { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&pmugrf { + u-boot,dm-pre-reloc; +}; + +&cru { + u-boot,dm-pre-reloc; +}; + +&grf { + u-boot,dm-pre-reloc; +}; + +&uart2 { + u-boot,dm-pre-reloc; +}; + diff --git a/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi b/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi new file mode 100644 index 0000000..633dfe1 --- /dev/null +++ b/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi @@ -0,0 +1,35 @@ +/* + * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH + * + * SPDX-License-Identifier: GPL-2.0+ X11 + */ + +&pinctrl { + u-boot,dm-pre-reloc; +}; + +&service_msch { + u-boot,dm-pre-reloc; +}; + +&dmc { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&pmugrf { + u-boot,dm-pre-reloc; +}; + +&cru { + u-boot,dm-pre-reloc; +}; + +&grf { + u-boot,dm-pre-reloc; +}; + +&uart4 { + u-boot,dm-pre-reloc; +}; + diff --git a/arch/arm/dts/rk3368-sheep-u-boot.dtsi b/arch/arm/dts/rk3368-sheep-u-boot.dtsi new file mode 100644 index 0000000..7cf4a36 --- /dev/null +++ b/arch/arm/dts/rk3368-sheep-u-boot.dtsi @@ -0,0 +1,35 @@ +/* + * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH + * + * SPDX-License-Identifier: GPL-2.0+ X11 + */ + +&pinctrl { + u-boot,dm-pre-reloc; +}; + +&service_msch { + u-boot,dm-pre-reloc; +}; + +&dmc { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&pmugrf { + u-boot,dm-pre-reloc; +}; + +&cru { + u-boot,dm-pre-reloc; +}; + +&grf { + u-boot,dm-pre-reloc; +}; + +&uart2 { + u-boot,dm-pre-reloc; +}; +
Device drivers like debug serial, dmc should be enabled before relocation, so add u-boot.dtsi files to contain devices that should be marked as dm-pre-reloc. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> --- arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ arch/arm/dts/rk3368-sheep-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi