| // |
| // Copyright (c) 2023 Google LLC |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // https://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| using "sim/config/platforms/shodan.repl" |
| |
| cam_ctrl: Sensors.CamCtrl @ sysbus 0x54050000 |
| TriggerOut -> isp@0 |
| |
| isp: Sensors.DoubleBufferDMA @ sysbus 0x54060000 |
| IRQ -> smc_plic@17 |
| |
| camera: Sensors.HiMaxHM01B0 @ {isp; cam_i2c 0x24} |
| |
| // TODO(b/260006691): Temporary piece of flash for the finch app. Tock kernel |
| // assumes that the app needs to be relocated from flash. This must be removed |
| // once that is fixed in the kernel. |
| // eFLASH [‘h2000_0000 - ‘h20FF_FFFF) 1M |
| eflash_smc: Memory.MappedMemory @ sysbus 0x21000000 |
| size: 0x00100000 |