Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: mmp2-brownstone: Don't redeclare phandle references

Extend the nodes by their phandle references instead of recreating the
tree and declaring references of the same names.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200320174107.29406-5-lkundrak@v3.sk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lubomir Rintel and committed by
Greg Kroah-Hartman
5a56cf3e d6a14ce6

+164 -166
+164 -166
arch/arm/boot/dts/mmp2-brownstone.dts
··· 19 19 device_type = "memory"; 20 20 reg = <0x00000000 0x08000000>; 21 21 }; 22 + }; 22 23 23 - soc { 24 - apb@d4000000 { 25 - uart3: uart@d4018000 { 26 - status = "okay"; 27 - }; 28 - twsi1: i2c@d4011000 { 29 - status = "okay"; 30 - pmic: max8925@3c { 31 - compatible = "maxium,max8925"; 32 - reg = <0x3c>; 33 - interrupts = <1>; 34 - interrupt-parent = <&intcmux4>; 35 - interrupt-controller; 36 - #interrupt-cells = <1>; 37 - maxim,tsc-irq = <0>; 24 + &uart3 { 25 + status = "okay"; 26 + }; 38 27 39 - regulators { 40 - SDV1 { 41 - regulator-min-microvolt = <637500>; 42 - regulator-max-microvolt = <1425000>; 43 - regulator-boot-on; 44 - regulator-always-on; 45 - }; 46 - SDV2 { 47 - regulator-min-microvolt = <650000>; 48 - regulator-max-microvolt = <2225000>; 49 - regulator-boot-on; 50 - regulator-always-on; 51 - }; 52 - SDV3 { 53 - regulator-min-microvolt = <750000>; 54 - regulator-max-microvolt = <3900000>; 55 - regulator-boot-on; 56 - regulator-always-on; 57 - }; 58 - LDO1 { 59 - regulator-min-microvolt = <750000>; 60 - regulator-max-microvolt = <3900000>; 61 - regulator-boot-on; 62 - regulator-always-on; 63 - }; 64 - LDO2 { 65 - regulator-min-microvolt = <650000>; 66 - regulator-max-microvolt = <2250000>; 67 - regulator-boot-on; 68 - regulator-always-on; 69 - }; 70 - LDO3 { 71 - regulator-min-microvolt = <650000>; 72 - regulator-max-microvolt = <2250000>; 73 - regulator-boot-on; 74 - regulator-always-on; 75 - }; 76 - LDO4 { 77 - regulator-min-microvolt = <750000>; 78 - regulator-max-microvolt = <3900000>; 79 - regulator-boot-on; 80 - regulator-always-on; 81 - }; 82 - LDO5 { 83 - regulator-min-microvolt = <750000>; 84 - regulator-max-microvolt = <3900000>; 85 - regulator-boot-on; 86 - regulator-always-on; 87 - }; 88 - LDO6 { 89 - regulator-min-microvolt = <750000>; 90 - regulator-max-microvolt = <3900000>; 91 - regulator-boot-on; 92 - regulator-always-on; 93 - }; 94 - LDO7 { 95 - regulator-min-microvolt = <750000>; 96 - regulator-max-microvolt = <3900000>; 97 - regulator-boot-on; 98 - regulator-always-on; 99 - }; 100 - LDO8 { 101 - regulator-min-microvolt = <750000>; 102 - regulator-max-microvolt = <3900000>; 103 - regulator-boot-on; 104 - regulator-always-on; 105 - }; 106 - LDO9 { 107 - regulator-min-microvolt = <750000>; 108 - regulator-max-microvolt = <3900000>; 109 - regulator-boot-on; 110 - regulator-always-on; 111 - }; 112 - LDO10 { 113 - regulator-min-microvolt = <750000>; 114 - regulator-max-microvolt = <3900000>; 115 - }; 116 - LDO11 { 117 - regulator-min-microvolt = <750000>; 118 - regulator-max-microvolt = <3900000>; 119 - regulator-boot-on; 120 - regulator-always-on; 121 - }; 122 - LDO12 { 123 - regulator-min-microvolt = <750000>; 124 - regulator-max-microvolt = <3900000>; 125 - regulator-boot-on; 126 - regulator-always-on; 127 - }; 128 - LDO13 { 129 - regulator-min-microvolt = <750000>; 130 - regulator-max-microvolt = <3900000>; 131 - regulator-boot-on; 132 - regulator-always-on; 133 - }; 134 - LDO14 { 135 - regulator-min-microvolt = <750000>; 136 - regulator-max-microvolt = <3900000>; 137 - regulator-boot-on; 138 - regulator-always-on; 139 - }; 140 - LDO15 { 141 - regulator-min-microvolt = <750000>; 142 - regulator-max-microvolt = <3900000>; 143 - regulator-boot-on; 144 - regulator-always-on; 145 - }; 146 - LDO16 { 147 - regulator-min-microvolt = <750000>; 148 - regulator-max-microvolt = <3900000>; 149 - regulator-boot-on; 150 - regulator-always-on; 151 - }; 152 - LDO17 { 153 - regulator-min-microvolt = <650000>; 154 - regulator-max-microvolt = <2250000>; 155 - regulator-boot-on; 156 - regulator-always-on; 157 - }; 158 - LDO18 { 159 - regulator-min-microvolt = <650000>; 160 - regulator-max-microvolt = <2250000>; 161 - regulator-boot-on; 162 - regulator-always-on; 163 - }; 164 - LDO19 { 165 - regulator-min-microvolt = <750000>; 166 - regulator-max-microvolt = <3900000>; 167 - regulator-boot-on; 168 - regulator-always-on; 169 - }; 170 - LDO20 { 171 - regulator-min-microvolt = <750000>; 172 - regulator-max-microvolt = <3900000>; 173 - regulator-boot-on; 174 - regulator-always-on; 175 - }; 176 - }; 177 - backlight { 178 - maxim,max8925-dual-string = <0>; 179 - }; 180 - charger { 181 - batt-detect = <0>; 182 - topoff-threshold = <1>; 183 - fast-charge = <7>; 184 - no-temp-support = <0>; 185 - no-insert-detect = <0>; 186 - }; 187 - }; 28 + &twsi1 { 29 + status = "okay"; 30 + pmic: max8925@3c { 31 + compatible = "maxium,max8925"; 32 + reg = <0x3c>; 33 + interrupts = <1>; 34 + interrupt-parent = <&intcmux4>; 35 + interrupt-controller; 36 + #interrupt-cells = <1>; 37 + maxim,tsc-irq = <0>; 38 + 39 + regulators { 40 + SDV1 { 41 + regulator-min-microvolt = <637500>; 42 + regulator-max-microvolt = <1425000>; 43 + regulator-boot-on; 44 + regulator-always-on; 188 45 }; 189 - rtc: rtc@d4010000 { 190 - status = "okay"; 46 + SDV2 { 47 + regulator-min-microvolt = <650000>; 48 + regulator-max-microvolt = <2225000>; 49 + regulator-boot-on; 50 + regulator-always-on; 51 + }; 52 + SDV3 { 53 + regulator-min-microvolt = <750000>; 54 + regulator-max-microvolt = <3900000>; 55 + regulator-boot-on; 56 + regulator-always-on; 57 + }; 58 + LDO1 { 59 + regulator-min-microvolt = <750000>; 60 + regulator-max-microvolt = <3900000>; 61 + regulator-boot-on; 62 + regulator-always-on; 63 + }; 64 + LDO2 { 65 + regulator-min-microvolt = <650000>; 66 + regulator-max-microvolt = <2250000>; 67 + regulator-boot-on; 68 + regulator-always-on; 69 + }; 70 + LDO3 { 71 + regulator-min-microvolt = <650000>; 72 + regulator-max-microvolt = <2250000>; 73 + regulator-boot-on; 74 + regulator-always-on; 75 + }; 76 + LDO4 { 77 + regulator-min-microvolt = <750000>; 78 + regulator-max-microvolt = <3900000>; 79 + regulator-boot-on; 80 + regulator-always-on; 81 + }; 82 + LDO5 { 83 + regulator-min-microvolt = <750000>; 84 + regulator-max-microvolt = <3900000>; 85 + regulator-boot-on; 86 + regulator-always-on; 87 + }; 88 + LDO6 { 89 + regulator-min-microvolt = <750000>; 90 + regulator-max-microvolt = <3900000>; 91 + regulator-boot-on; 92 + regulator-always-on; 93 + }; 94 + LDO7 { 95 + regulator-min-microvolt = <750000>; 96 + regulator-max-microvolt = <3900000>; 97 + regulator-boot-on; 98 + regulator-always-on; 99 + }; 100 + LDO8 { 101 + regulator-min-microvolt = <750000>; 102 + regulator-max-microvolt = <3900000>; 103 + regulator-boot-on; 104 + regulator-always-on; 105 + }; 106 + LDO9 { 107 + regulator-min-microvolt = <750000>; 108 + regulator-max-microvolt = <3900000>; 109 + regulator-boot-on; 110 + regulator-always-on; 111 + }; 112 + LDO10 { 113 + regulator-min-microvolt = <750000>; 114 + regulator-max-microvolt = <3900000>; 115 + }; 116 + LDO11 { 117 + regulator-min-microvolt = <750000>; 118 + regulator-max-microvolt = <3900000>; 119 + regulator-boot-on; 120 + regulator-always-on; 121 + }; 122 + LDO12 { 123 + regulator-min-microvolt = <750000>; 124 + regulator-max-microvolt = <3900000>; 125 + regulator-boot-on; 126 + regulator-always-on; 127 + }; 128 + LDO13 { 129 + regulator-min-microvolt = <750000>; 130 + regulator-max-microvolt = <3900000>; 131 + regulator-boot-on; 132 + regulator-always-on; 133 + }; 134 + LDO14 { 135 + regulator-min-microvolt = <750000>; 136 + regulator-max-microvolt = <3900000>; 137 + regulator-boot-on; 138 + regulator-always-on; 139 + }; 140 + LDO15 { 141 + regulator-min-microvolt = <750000>; 142 + regulator-max-microvolt = <3900000>; 143 + regulator-boot-on; 144 + regulator-always-on; 145 + }; 146 + LDO16 { 147 + regulator-min-microvolt = <750000>; 148 + regulator-max-microvolt = <3900000>; 149 + regulator-boot-on; 150 + regulator-always-on; 151 + }; 152 + LDO17 { 153 + regulator-min-microvolt = <650000>; 154 + regulator-max-microvolt = <2250000>; 155 + regulator-boot-on; 156 + regulator-always-on; 157 + }; 158 + LDO18 { 159 + regulator-min-microvolt = <650000>; 160 + regulator-max-microvolt = <2250000>; 161 + regulator-boot-on; 162 + regulator-always-on; 163 + }; 164 + LDO19 { 165 + regulator-min-microvolt = <750000>; 166 + regulator-max-microvolt = <3900000>; 167 + regulator-boot-on; 168 + regulator-always-on; 169 + }; 170 + LDO20 { 171 + regulator-min-microvolt = <750000>; 172 + regulator-max-microvolt = <3900000>; 173 + regulator-boot-on; 174 + regulator-always-on; 191 175 }; 192 176 }; 177 + backlight { 178 + maxim,max8925-dual-string = <0>; 179 + }; 180 + charger { 181 + batt-detect = <0>; 182 + topoff-threshold = <1>; 183 + fast-charge = <7>; 184 + no-temp-support = <0>; 185 + no-insert-detect = <0>; 186 + }; 193 187 }; 188 + }; 189 + 190 + &rtc { 191 + status = "okay"; 194 192 };