nv-public: Add dts overlay for android

Add an overlay for android to pass android specific values for bootargs
and other modules.

Bug 4127755

Change-Id: I52c3b2b1c8dc5b3a0f7734baf1e41b2f54b88995
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2920161
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Ankita Garg <ankitag@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Bruce Xu
2023-05-05 03:06:03 +00:00
committed by mobile promotions
parent 125ed138f7
commit 78b132032d
2 changed files with 27 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ dtbo-y :=
makefile-path := t23x/nv-public/overlay
dtbo-y += tegra-optee.dtbo
dtbo-y += tegra234-android.dtbo
dtbo-y += tegra234-audio-overlay.dtbo
dtbo-y += tegra234-carveouts.dtbo
dtbo-y += tegra234-jetson.dtbo

View File

@@ -0,0 +1,26 @@
// SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// This file contains the DT nodes of T234 which are not in base/tegra234.dtsi
/dts-v1/;
/plugin/;
/ {
fragment-t234-android@0 {
target-path = "/";
__overlay__ {
firmware {
android {
compatible = "android,firmware";
first_stage_delay = "1";
};
};
chosen {
use_dts_cmdline;
bootargs ="androidboot.boot_devices=bus@0/3460000.mmc enforcing=0 androidboot.selinux=permissive console=ttyTCU0,115200 rootfstype=ext4 mminit_loglevel=4 androidboot.slot_suffix=_a androidboot.hardware=t234ref loop.max_part=7 firmware_class.path=/vendor/firmware";
};
};
};
};