| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * TI da8xx DDR2/mDDR controller driver |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: |
|---|
| 7 | 8 | * Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 105 | 102 | { |
|---|
| 106 | 103 | const struct da8xx_ddrctl_config_knob *knob; |
|---|
| 107 | 104 | const struct da8xx_ddrctl_setting *setting; |
|---|
| 108 | | - struct device_node *node; |
|---|
| 109 | 105 | struct resource *res; |
|---|
| 110 | 106 | void __iomem *ddrctl; |
|---|
| 111 | 107 | struct device *dev; |
|---|
| 112 | 108 | u32 reg; |
|---|
| 113 | 109 | |
|---|
| 114 | 110 | dev = &pdev->dev; |
|---|
| 115 | | - node = dev->of_node; |
|---|
| 116 | 111 | |
|---|
| 117 | 112 | setting = da8xx_ddrctl_get_board_settings(); |
|---|
| 118 | 113 | if (!setting) { |
|---|